post https://api.instantpay.in/cards/prepaid/walletBalance
API allows load amount wallet from a prepaid card.
Header Parameters
For Header Reference Click here
Request Parameters
Name | Type | Mandatory (M) , Operational (O) | Description |
---|---|---|---|
mobile | String | M | Customer mobile number |
amount | String | M | Transfer amount from wallet to the prepaid card |
latitude | String | M | Current latitude of user |
longitude | String | M | Current longitude of user |
externalRef | Sttring | M | Reference number |
remark | String | O | Remarks |
Sample Request
curl --location --request POST 'https://api.instantpay.in/cards/prepaid/loadWallet' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": "100",
"externalRef": "PROD1",
"latitude": "20.1236",
"longitude": "78.3228"
}'
POST /cards/prepaid/loadWallet HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: {{authCode}}
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: {{endPointIP}}
Content-Type: application/json
{
"amount": "100",
"externalRef": "PROD1",
"latitude": "20.1236",
"longitude": "78.3228"
}
Response Parameters
For Response Reference Click here
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": {
"ipayId": "1220123145065KVYEE",
"spTransId": "2201231443065",
"operatorId": "1324874309",
"balance": "100.0",
"remainingLoadLimit": "9900",
"tagBalance": {}
},
"timestamp": "2022-03-21 10:20:36",
"ipay_uuid": "h00695deb945-3def-42ba-8857-2ff7bac93fe6",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}
Action Code Details
For Action Code details Click here