Name | Type | Description | Mandatory (M) , Optional (O) | Provided by INSTANTPAY (Y/N) |
---|
X-Ipay-Auth-Code | String | Auth Code is "1" (Fixed) | M | Y |
X-Ipay-Client-Id | String | Unique Client Id Provided by Instantpay | M | Y |
X-Ipay-Client-Secret | String | Unique Client Secret Provided by Instantpay | M | Y |
X-Ipay-Endpoint-Ip | String | End customer IP Address | M | Y |
Parameter Name | Type | Requirement | Description |
---|
ifsc | String | Mandatory | Ifsc code of the bank |
latitude | String | Mandatory | End Customer Latitude. |
longitude | String | Mandatory | End Customer Longitude |
externalRef | String | Mandatory | Unique Transaction id |
curl --location --request GET 'https://api.instantpay.in/identity/ifsc' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--data '{
"ifsc":"ABHY0065002",
"latitude":0.90,
"longitude":99.0,
"externalRef":"ngf8985ngjfn"
}
GET /identity/ifsc HTTP/1.1
Host: api.instantpay.in
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOQ8l80uxEOrgU6T3Oc4znVc=
X-Ipay-Client-Secret: 9e08574b440f1b4b13d19654cf31aa9b5d0b1effcc80785ded93ea87c5640fa7
X-Ipay-Auth-Code: 1
X-Ipay-Endpoint-Ip: 49.249.72.66
Content-Type: application/json
Content-Length: 136
{
"ifsc":"ABHY0065002",
"latitude":0.90,
"longitude":99.0,
"externalRef":"ngf8985ngjfn"
}
Parameter Name | Type | Description |
---|
statuscode | String | Instantpay Status Code |
actcode | String | Action Code |
status | Array | Status message |
data | String | Response Data(if Present) |
timestamp | String | Response time (YYYY-MM-DD HH:II:SS) |
ipay_uuid | String | Request reference number |
orderid | String | Transaction Id(if transaction otherwise it is null) |
environment | String | Live/Sandbox |
{{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": {
"poolReferenceId": "1230621161230BRZBJ",
"pool": {
"account": "7428585742",
"openingBal": "987.61",
"mode": "DR",
"amount": "0.59",
"closingBal": "987.02"
},
"ifscDetails": {
"ifsc": "ABHY0065002",
"bankName": "1 ABHYUDAYA COOPERATIVE BANK LIMITED",
"branchName": "1 ABHYUDAYA COOPERATIVE BANK LIMITED",
"branchAddress": "1 KMSPM'S SCHOOL, WADIA ESTATE, BAIL BAZAR-KURLA(W), MUMBAI-400070",
"branchPincode": 400070,
"branchArea1": "1 MUMBAI",
"branchArea2": "1 GREATER MUMBAI",
"branchState": "1 MAHARASHTRA"
}
},
"timestamp": "2023-06-21 16:12:30",
"ipay_uuid": "h00099768add-1475-48f2-95dd-1f450c7dbf3e",
"orderid": "1230621161230BRZBJ",
"environment": "SANDBOX",
"internalCode": null
}