Lookup Driver's Licence
This endpoint returns details of a license number
Request
{{baseUrl}}/api/v1/kyc/dl
Headers
Parameter | Type | Description |
---|---|---|
AppId | string | you would need to create an app to get your app ID |
Authorization | string | public secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G |
Query Parameters
Parameter | Type | Description | |
---|---|---|---|
license_number * | string | A driver's license number | required |
dob* | integer | date of birth in yyyy-mm-dd format | required |
Response Sample
{
{
"entity": {
"uuid": "1625583696",
"licenseNo": "FKJ494A2133",
"firstName": "JOHN",
"lastName": "DOE",
"middleName": "",
"gender": "Male",
"issuedDate": "2019-01-25",
"expiryDate": "2024-08-17",
"stateOfIssue": "LAGOS",
"birthDate": "28-09-1998",
"photo": "BASE 64 IMAGE"
}
}
}
curl -L -X GET '{{baseUrl}}/api/v1/kyc/dl?license_number={{license_no}}&dob={{dob}}' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY'
Updated 7 months ago
Did this page help you?