get https://api.instantpay.in/identity/mobile/vpaLookup
Fetch UPI VPA from mobile number.
Headers Parameter
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 | N |
Request Parameters
Parameter Name | Type | Requirement | Description |
---|---|---|---|
mobileNumber | String | Mandatory | UPI Linked Mobile Number |
externalRef | String | Mandatory | Unique Transaction Id |
consent | String | Mandatory(Y or N) | Consent should be accepted by customer |
latitude | String | Mandatory | End Customer Latitude. |
longitude | String | Mandatory | End Customer longitude. |
Sample Request
curl --location 'https://api.instantpay.in/identity/mobile/vpaLookup' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+xxxxxxxx' \
--header 'X-Ipay-Client-Secret: 82e4755d7c1cf636816addfe1460936d7b64612208df87f3xxxxxxxxxxxxxxxx' \
--header 'X-Ipay-Endpoint-Ip: 45.115.105.205' \
--data '{
"mobileNumber": "9876543210",
"consent": "Y",
"externalRef": "1757650497",
"latitude": 72.9999,
"longitude": 38.1223
}'
POST /identity/mobile/vpaLookup HTTP/1.1
Host: api.instantpay.in
Accept: application/json
Content-Type: application/json
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549XXXXXXXXXXX
X-Ipay-Client-Secret: 82e4755d7c1cf636816addfe1460936d7b64612208dXXXXXXXXX
X-Ipay-Endpoint-Ip: 45.115.105.205
Content-Length: 126
{
"mobileNumber": "9876543210",
"consent": "Y",
"externalRef": "1757650544",
"latitude": 72.9999,
"longitude": 38.1223
}
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": {
"vpaData": {
"vpa": "md.test@ybl",
"accountHolderName": "MD SHAHBAZ ALI",
"accountNumber": "000000325951045678",
"accountIfsc": "SBIN0000152",
"amountDeposited": "0.00",
"bankName": "STATE BANK OF INDIA",
"bankBranch": "PATNA MAIN",
"bankAddress": "WEST OF GANDHI MAIDAN, PATNA- BIHAR 800001"
},
"poolReferenceId": "1250912093526SPRRF",
"pool": {
"openingBal": "29.77",
"mode": "DR",
"amount": "1.18",
"closingBal": "28.59"
}
},
"timestamp": "2025-09-12 09:35:26",
"ipay_uuid": "h0009fdb79f2-dd20-4b05-99e2-024a6c67b1f5-C6D9qWEzemnQ",
"orderid": "1250912093526SPRRF",
"environment": "LIVE",
"internalCode": null
}
Response Parameter
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 number |
orderid | String | Transaction Id(if transaction otherwise it is null) |
environment | String | Live/Sandbox |
internalCode | String | It will be null |