🔎ID Verification

This feature enables the verification of ID Document

Based on the input information provided, we give you a matching score comparing the information given and the ones found in official databases.

ID identifiers supported

Document
Database Check
Identifier Used

OLD CNI

Document Number

NEW CNI

NNI

Resident Card

NNI

MTN Phone Numbers

Phone number

Compute Person Information Scoring (experimental)

Endpoint POST /verification/personInfoScore

Headers

  • Api-Key (required): provided by Danaya

  • Api-Secret (required): provided by Danaya

  • Content-Type (required): application/json

Request Body

In an API call, you must specify either nni, idCardNumber, or phoneNumber. Only one of these parameters should be provided at a time.

here you have to provide all user's informations as they are on the ID Document

{
  "nni": "string",
  "iDCardNumber": "string",
  "firstName": "string",
  "phoneNumber": "string", // 2250XXXXXXXXX
  "lastName": "string",
  "dateOfBirth": "30/03/2024",//respect this format
  "gender": "string"
}

Responses

  • OK

    • Code: 200

    • Body:

{
  "id": 0,
  "nni": "string",
  "iDCardNumber": "string",
  "firstNameMatchingScore": 0,
  "lastNameMatchingScore": 0,
  "dateOfBirthMatchingScore": 0,
  "genderMatchingScore": 0
}
  • UnAuthorized

  • Bad Request

Last updated