get https://api.instantpay.in/fi/remit/out/nepal/paymentLocationList
This API will be used to fetch location from where you can collect the payment.
Request Parameters
Parameters | Requirement | Description |
---|---|---|
type | Mandatory | It will be either ACCOUNTPAY or CASHPAY |
country | Mandatory | It will be Nepal |
state | Optional | State Name |
district | Optional | District Name |
Sample Request
GET /fi/remit/out/nepal/paymentLocationList 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-Request-Hash: 123456789|123456789|123456789|123456789|123456789|123456789|1234
X-Ipay-Request-Timestamp: 1665637236000
X-Ipay-Hash-Check: OFF
User-Agent: InstantPayAPITest/1.0.0
X-Ipay-Outlet-Id: 72762
Content-Type: application/json
Content-Length: 85
{
"type":"CASHPAY",
"country":"NEPAL",
"state":"",
"district":""
}
curl --location --request GET 'https://api.instantpay.in/fi/remit/out/nepal/paymentLocationList' \
--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-Request-Hash: 123456789|123456789|123456789|123456789|123456789|123456789|1234' \
--header 'X-Ipay-Request-Timestamp: 1665637271000' \
--header 'X-Ipay-Hash-Check: OFF' \
--header 'User-Agent: InstantPayAPITest/1.0.0' \
--header 'X-Ipay-Outlet-Id: 72762' \
--header 'Content-Type: application/json' \
--data-raw '{
"type":"CASHPAY",
"country":"NEPAL",
"state":"",
"district":""
}'
Response Parameters
Parameter 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:II:SS) |
ipay_uuid | String | Request reference numbe |
orderid | String | Transaction Id ( If transaction otherwise it is null ) |
enviroment | String | Live/Sandbox |
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": [
{
"locationId": 0,
"locationName": "Prabhu Bank Limited",
"bankBranchId": 0,
"bankName": null,
"branchName": "-",
"branchCode": "-",
"routingCode": "-",
"country": "Nepal",
"address": "Payment at any Cash Pickup agent of Prabhu Bank, Prabhu Money Transfer, Prabhu Management",
"state": "",
"district": "",
"city": "",
"phoneNumber": ""
}
],
"timestamp": "2022-10-13 10:32:57",
"ipay_uuid": "h005977d246a-bd3a-4727-8664-f0d6e41d06fc",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}
Info :
For API Headers Click Here