This document outlines an API endpoint for extracting information from a driver's license image. The response includes details such as name, date of birth, address, license number, and more, with a success or failure message.


📘

POST

{{URL}}/dikript/api/v1/extract/driverslisence



Request Body

Content-Type: multipart/form-data

KeyValueDescriptionRequired
imagefileIForm fileyes


Response Body

{
    "status": true,
    "message": "Successful",
    "code": "200",
    "apiVersion": "v1",
    "transactionRef": "N202403310252336124",
    "data": {
        "firstName": "name",
        "lastName": "name",
        "middleName": "name",
        "dateOfBirth": "91-11-2998",
        "address": "PLOT 888  ADDRESSS ROAD STR OFF ANONYMOUS AVE LEKKI PHASE 1. LAGOS",
        "sex": "M",
        "phoneNumber": "081*****84",
        "countryOfIssuance": "NIGERIA",
        "stateOfIssuance": "LAGOSS",
        "lisenceNumber": "EKY*****B67",
        "issuanceDate": "12-22-8021",
        "expiryDate": "21-01-9026"
    },
    "error": null
}
{
  	"status":false,
    "message": "Unsuccessful",
    "code": "400",
    "apiVersion": "v1",
    "transactionRef": "N202401101345487388",
    "data": "",
    "error": {
        "code": 400,
        "message": null
    }
}