Drivers License

Please note that when using your test key, Our test persona is John Doe and his Drivers License Number is 10000000001. Hence all matching done with your test keys with details other than that of our Test Persona would simulate a failed identity matching.

Verify Drivers License

POST https://vapi.verifyme.ng/v1/verifications/identities/drivers_license/:ref

Path Parameters

NameTypeDescription

ref

string

Drivers license number

Headers

NameTypeDescription

Authorization

string

Authorization token

Request Body

NameTypeDescription

dob

string

date of birth

firstname

string

first name

lastname

string

last name

{
  "status": "success",
  "data": {
    "fieldMatches":{
      "firsname":false,
      "lastname":false,
      "dob":false
    },
    "licenseNo": "1000000001",
    "firstname": "John",
    "lastname": "Doe",
    "issuedDate": "09-09-1999",
    "expiryDate": "09-09-2099",
    "stateOfIssue": "LAGOS",
    "gender": "female"
    "birthdate": "04-04-1944",
    "photo": "Base64 Encoded",
  } 
}

Sample Request

curl --location --request POST 'https://vapi.verifyme.ng/v1/verifications/identities/drivers_license/10000000001' \
--header 'Authorization: Bearer <your secret key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "firstname":"John",
    "lastname":"Doe",
    "phone":"080000000000",
    "dob":"04-04-1944"
}'

Last updated