This document outlines an API endpoint for extracting nin information from an image. The response includes details such as name, date of birth, nationality, and passport number.


📘

POST

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



Request Body

Content-Type: multipart/form-data

KeyValueDescriptionRequired
imagefileIForm fileyes


Response Body

{
    "status": true,
    "message": "Successful",
    "code": "200",
    "apiVersion": "v1",
    "transactionRef": "N202403310305394104",
    "data": {
        "firstName": "NAME",
        "lastName": "NAME",
        "middleName": "NAME",
        "address": "ANONYMOUS STREET",
        "sex": "M",
        "country": "N****IA",
        "nin": "9********21",
        "trackingId": "A*******8"
    },
    "error": null
}
{
  	"status":false,
    "message": "Unsuccessful",
    "code": "400",
    "apiVersion": "v1",
    "transactionRef": "N202401101345487388",
    "data": "",
    "error": {
        "code": 400,
        "message": null
    }
}