Service Charge

This API will fetch the charges applicable for the transaction.

Request Parameters

Parameters

Requirement

Description

country

Mandatory

It will be Nepal

paymentMode

Mandatory

It will be Account Deposit or Cash Payment

transferAmount

Mandatory

Amount to be transferred
(In INR)

payoutAmount

Optional

Amount to be received by the beneficiary
(In NPR)

bankBranchId

Optional
(Mandatory when paymentMode is Account Deposit)

Bank Branch Id

Sample Request

GET /fi/remit/out/nepal/serviceCharge HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=
X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825
X-Ipay-Endpoint-Ip: 14.142.186.14
X-Ipay-Outlet-Id: 72762
Content-Type: application/json
Content-Length: 141

{
    "country": "Nepal",
    "paymentMode": "Account Deposit",
    "transferAmount": "",
    "payoutAmount": "200",
    "bankBranchId": ""
}
curl --location --request GET 'https://api.instantpay.in/fi/remit/out/nepal/serviceCharge' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=' \
--header 'X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825' \
--header 'X-Ipay-Endpoint-Ip: 14.142.186.14' \
--header 'X-Ipay-Outlet-Id: 72762' \
--header 'Content-Type: application/json' \
--data-raw '{
    "country": "Nepal",
    "paymentMode": "Account Deposit",
    "transferAmount": "",
    "payoutAmount": "200",
    "bankBranchId": ""
}'

Response Parameters

Parameters Name

Type

Description

statuscode

String

InstantPay Status Code

actcode

String

Action Code

status

String

Status message

data

Array

Response Data (If Present)

timestamp

String

Response time (YYYY-MM-DD HH:MM:SS)

ipay_uuid

String

Request reference number

orderid

String

Transaction Id ( If transaction otherwise it is null )

enviroment

String

Live/Sandbox

Sample Response

{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Transaction Successful",
    "data": {
        "transferAmount": "49800",
        "serviceCharge": "199",
        "collectionAmount": "49999",
        "collectionCurrency": "INR",
        "exchangeRate": "1.6",
        "payoutAmount": "79680",
        "payoutCurrency": "NPR"
    },
    "timestamp": "2022-10-11 15:31:41",
    "ipay_uuid": "h00597798947-15db-4434-a80b-03f60b2979ec",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}

📘

Info :

For API Headers Click Here

Language
Click Try It! to start a request and see the response here!