Verify NIN with Selfie Image
Lookup and Verify Users NIN with their Selfie Image.
To ensure that your customer is who they say they are, you can allow them take a selfie photo which you can pass on to the Dojah for the verification process
This helps to significantly reduce the possibility of fraud by confirming the person who is inputting the National ID number is who they say they really are.
To Verify NIN with Selfie Image;
{{baseUrl}}/api/v1/kyc/nin/verify
POST Parameter | Type | Description |
---|---|---|
lastname _OPTIONAL | string | |
firstname _OPTIONAL | string | |
selfieimage _REQUIRED | string | Base64 value of the selfie image. NB: Kindly truncate data:image/jpeg;base64, from the selfie_image object and pass only the buffer starting with /9. |
nin REQUIRED | string | National Identity Verification Number. |
NB : Confidence Values ranges from 0% to 100 %
0% - 90% denote match value is false
90% -100% denote match value is true
{
"entity": {
"first_name": "John",
"last_name": "Doe",
"middle_name": "Chinwe",
"gender": "M",
"image": "/9j/4AAQScXJSgBBAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwg...",
"phone_number": "0812345678",
"date_of_birth": "1993-05-06",
"nin": "70123456789",
"selfie_verification": {
"confidence_value": 99.90354919433594,
"match": true
}
}
}
curl -L -X POST '{{baseUrl}}/api/v1/kyc/nin/verify' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY'
Updated 2 months ago