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.

post
Verify Drivers License

https://vapi.verifyme.ng/v1/verifications/identities/drivers_license/:ref
Request
Response
Request
Path Parameters
ref
required
string
Drivers license number
Headers
Authorization
required
string
Authorization token
Body Parameters
dob
optional
string
date of birth
firstname
required
string
first name
lastname
required
string
last name
Response
200: OK
{
"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": "17/01/1988",
"photo": "Base64 Encoded",
}
}
404: Not Found
{
"code":"NOT_FOUND_ERROR",
"message":"licence no provided is not found. Please provide a valid license no"
}

Sample Request

Curl
Curl
curl --verbose
--header "Authorization: Bearer <token>"--data '{"firstname": "John","lastname": "Doe", "dob": "14-04-1944"}'
--request "POST" "https://vapi.verifyme.ng/v1/identities/drivers_license/<drivers_license>"