v1

latestOpenAPI 3.1.02026-07-2414704.6 MB

Driving License Verification

The Driving License Verification API solution by Instantpay allows businesses to authenticate the validity of a driver's licence swiftly and accurately.

Employ this feature to enhance security measures, confirming the authenticity of driving licences during various transactions and interactions, contributing to a safer and more reliable operational environment.

Additionally, the API facilitates the extraction of personal information, including permissible types of vehicles, along with the provision of RTO-registered user photos, further enhancing the comprehensive verification process.

post/verifyDrivingLicense

Headers

X-Ipay-Auth-Codestring

Auth Code

X-Ipay-Client-Idstring

Unique Client Id Provided by Instantpay

X-Ipay-Client-Secretstring

Unique Client Secret Provided by Instantpay

X-Ipay-Endpoint-Ipstring

End Customer IP Address

Request body

drivingLicenseNumberstring

udyamNumber

latitudestring

End Customer Latitude.

longitudestring

End Customer Longitude.

externalRefstring

Your Unique Transaction id

consentstring

Consent should be accepted by customer

Response

200

statuscodestring
{"stackTrail":"paths:/verifyDrivingLicense:post:responses:200:content:application/json:schema:properties:actcode","oasType":"schema","type":"unknown"}
statusstring
timestampstring
ipay_uuidstring
orderidstring
environmentstring
{"stackTrail":"paths:/verifyDrivingLicense:post:responses:200:content:application/json:schema:properties:internalCode","oasType":"schema","type":"unknown"}

Example response

{
  "statuscode": "TXN",
  "status": "Transaction Successful",
  "data": {
    "drivingLicenseDetail": {
      "userAddress": [
        {
          "addressLine1": "Sample Address",
          "completeAddress": "Full Address",
          "country": "INDIA",
          "district": "TAL-PANHALA,",
          "state": "Maharashtra",
          "type": "Permanent"
        }
      ],
      "userBloodGroup": "U",
      "dlNumber": "MH09 123456789",
      "userDob": "07/05/2000",
      "expiryDate": "28/02/2020",
      "fatherOrHusband": "Sample Name",
      "issuedDate": "29/02/2000",
      "nonTransportValidity": {
        "from": "29/02/2000",
        "to": "28/02/2020"
      },
      "state": "Maharashtra",
      "status": "Active",
      "userFullName": "Sample Name",
      "userImage": "/9j/4AAQhAMVm9O1yXvI4ZgJVLbDIDyD/MVoweDyD2Q==",
      "vehicleCategoryDetails": [
        {
          "cov": "MCWG"
        }
      ]
    },
    "pool": {
      "referenceId": "1231005102115NHXPE",
      "openingBalance": "47.77",
      "paymentAmount": "0.00",
      "mode": "DR",
      "closingBalance": "47.77"
    }
  },
  "timestamp": "2023-10-05 10:21:15",
  "ipay_uuid": "h0059a4b4991-b430-4411-80fe-f5c24af38c84-jPAvyqyJmw4H",
  "orderid": "1231005102115NHXPE",
  "environment": "LIVE"
}