Profile Enrichment

Header Parameters

NameTypeDescriptionMandatory (M) , Optional (O)Provided by INSTANTPAY (Y/N)
X-Ipay-Auth-CodeStringAuth Code is "1" (Fixed)MY
X-Ipay-Client-IdStringUnique Client Id Provided by InstantpayMY
X-Ipay-Client-SecretStringUnique Client Secret Provided by InstantpayMY
X-Ipay-Endpoint-IpStringEnd customer IP AddressMY

Request Parameters

Parameter NameTypeRequirementDescription
nameStringMandatoryName of the user
mobileNumberStringMandatoryUser Mobile Number
inquiryPurposeCodeStringMandatoryCheck below table for purpose code
taxIdNumberStringMandatoryPAN number
externalRefStringMandatoryYour Unique Transaction id
latitudeStringMandatoryEnd Customer Latitude.
longitudeStringMandatoryEnd Customer Longitude

Sample Request

curl --location 'https://api.instantpay.in/identity/fetchProfile' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: 45.115.105.205' \
--data '{
    "name": "PARAMJIT SINGH",
    "mobileNumber": "9876543210",
    "inquiryPurposeCode": "01",
    "taxIdNumber": "ATPPH1234F",
    "latitude": "11.10",
    "longitude": "26.91",
    "externalRef": "1768370026"
}'
POST /identity/fetchProfile HTTP/1.1
Host: api.instantpay.in
Accept: application/json
Content-Type: application/json
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: 45.115.105.205
Content-Length: 215

{
    "name": "PARAMJIT SINGH",
    "mobileNumber": "9876543210",
    "inquiryPurposeCode": "01",
    "taxIdNumber": "ABCDE1234F",
    "latitude": "11.10",
    "longitude": "26.91",
    "externalRef": "1768370026"
}

Response Parameters

Parameter NameTypeDescription
statuscodeStringInstantpay Status Code
actcodeStringAction Code
statusArrayStatus message
dataStringResponse Data(if Present)
timestampStringResponse time (YYYY-MM-DD HH:II:SS)
ipay_uuidStringRequest reference number
orderidStringTransaction Id(if transaction otherwise it is null)
environmentStringLive/Sandbox
internalCodeStringIt will be null

Sample Response

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