Digilocker

DigiLocker securely fetches verified user documents like Aadhaar, PAN, and driving license directly from issuing authorities.

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

NameTypeRequirementDescription
mobileStringMandatoryUser mobile number
redirectionUrlStringMandatoryHost URL
nameStringMandatoryUser's name
LatitudeStringMandatoryEnd Customer Latitude.
LongitudeStringMandatoryEnd Customer Longitude
externalRefStringMandatoryYour Unique Transaction id

Sample Request

POST /identity/vehicleChallan HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: YWY3OTAzYzNxxxxxxxxxxxxxxETrD5Yx+Q=
X-Ipay-Client-Secret: 82e4755d7c1cf636xxxxxxxxxxxxxxxx00aa5b56fc926d1
X-Ipay-Endpoint-Ip: 14.142.186.142
Content-Type: application/json
Content-Length: 153

{
  "mobile": 9876543210,
    "redirectionUrl": "https://ravi.example.com/kyc-result",
    "name": "ravi",
    "latitude": "11.10",
    "longitude": "26.91",
    "externalRef": "1761799543"
}
POST /identity/vehicleChallan HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: YWY3OTAzYzNxxxxxxxxxxxxxxETrD5Yx+Q=
X-Ipay-Client-Secret: 82e4755d7c1cf636xxxxxxxxxxxxxxxx00aa5b56fc926d1
X-Ipay-Endpoint-Ip: 14.142.186.142
Content-Type: application/json
Content-Length: 153

{
    "vehicleRegistrationNumber": "UP85BX1180",
    "consent": "Y",
    "latitude": "11.1019",
    "longitude": "26.9109",
    "externalRef": "1729658737"
}

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

{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Transaction Successful",
    "data": {
        "externalRef": "1761799543",
        "poolReferenceId": "1251110122006TGFGS",
        "txnReferenceId": "779318443157079127",
        "pool": {
            "account": "9835799007",
            "openingBal": "4.83",
            "mode": "DR",
            "amount": "0.00",
            "closingBal": "4.83"
        },
        "digiLockerUrl": "https://klr.bz/DIGTAP/lY3fhb"
    },
    "timestamp": "2025-11-10 12:20:06",
    "ipay_uuid": "h000a05264e6-87bb-4573-ac63-414df010342c-mhgRbQWtEZPO",
    "orderid": "1251110122006TGFGS",
    "environment": "LIVE",
    "internalCode": "Transaction Successful"
}
📘

Consent Text :

I hereby give my consent and submit voluntarily at my own discretion, my Voter ID for the
purpose of establishing my identity on the portal. The Voter ID submitted herewith shall not be used for
any purpose other than mentioned, or as per the requirements of the law.