Verify drivers licence

The Driver's license verification API allows you to verify a passport by parsing license_number, full_name, date_of_birth and phone_number in the request body as just as shown in the example below.

Example Requests

var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'license_number': 'RUM47482AA01',
  'full_name': 'JOHN DOE',
  'date_of_birth': '1995-08-06',
  'phone_number': '070*******' 
});
var config = {
  method: 'post',
  url: 'https://integrations.getravenbank.com/v1/drivers_license/verify',
  headers: { },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

Example Response

{
  "status": "success",
  "message": "Passport data retrieved successfully",
  "data": {
    "firstname": "FIRSTNAME",
    "lastname": "LASTNAME",
    "fullname": "FIRSTNAME LASTNAME",
    "date_of_birth": "1990-07-06",
    "gender": "male",
    "email": null,
    "place_of_issuance": "IKOYI, LAGOS",
    "date_of_issuance": "May 28, 2021",
    "passport_expiration_date": "May 27, 2031"
  }
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!