Create URL

Header Parameters

NameTypeDescriptionMandatory/ OptionalProvided by Instantpay (Y/N)
X-Ipay-Auth-CodeStringAuth Code:"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 AddressMN

Request Parameters

Parameter NameTypeRequirementDescription
externalRefStringMandatoryYour Unique Transaction id
redirectionUrlStringMandatoryRedirection URL after Sign-up/ Sign-in
userFlowStringMandatorySIGNUP/ SIGNIN
latitudeStringMandatoryEnd Customer Latitude.
longitudeStringMandatoryEnd Customer Longitude.

Sample Request

postman request POST 'https://api.instantpay.in/identity/digiLocker' \
  --header 'X-Ipay-Auth-Code: 1' \
  --header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=' \
  --header 'X-Ipay-Client-Secret: 82e4755d7c1cf636816addfe1460936d7b64612208df87f3000aa5b56fc926d1' \
  --header 'X-Ipay-Endpoint-Ip: 14.142.186.142' \
  --header 'Content-Type: application/json' \
  --body '{
    "externalRef": "Vincenzo",
    "userFlow": "SIGNUP", 
    "redirectionUrl": "sample_URL",
    "latitude": "-67.6942",
    "longitude": "130.6086"
}'

Sample Response

{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Success",
    "data": {
        "referenceId": "69368e58ac0102180406d47c",
        "url": "sample_URL",
        "status": "PENDING"
    },
    "timestamp": "2025-12-08 14:07:44",
    "ipay_uuid": "h000a08adef3-952f-4bf7-b467-31ec0aa6ae4e-kX1kf7MIXqQL",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}

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