To ensure that your customer is who they say they are, you can allow them to take a selfie photo which you can pass on to the Dojah for verification process

This helps to significantly reduce the possibility of fraud by confirming the person using your product is the account owner at the validated bank.

Note: Confidence value is used to verify match and a confidence value from 60 and above shows a successful match else a mismatch.

To Verify Photo ID with Selfie Image;

Request

[POST]
{{baseUrl}}/api/v1/kyc/photoid/verify
ParameterTypeDescription
AppIdstringyou would need to create an app to get your app ID
Authorizationstringpublic secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G

Body parameters

POST ParameterTypeDescription
selfie_imagestringBase64 value of the selfie image NB: Kindly truncate data:image/jpeg;base64, from the selfie_image object.
photoid_image REQUIREDstringBase64 value of the photoId image NB: Kindly truncate data:image/jpeg;base64, from the selfie_image object.
first_namestring
last_namestring

πŸ“˜ Note : Confidence Values ranges from 0% to 100 %

0% - 90% denote match value is false
90% -100% denote match value is true

Response

Response
{
  "entity": {
    "selfie": {
      "confidence_value": 0,
      "match": false,
      "photoId_image_blurry": false,
      "selfie_image_blurry": false,
      "selfie_glare": true,
      "photoId_glare": true,
      "age_range": "26-40 Years",
      "sunglasses": false,
      "card_type": "VOTER'S CARD",
      "last_name": {
			"match": true,
			"last_name": "",
			"confidence_value": 100
		},
		"first_name": {
			"match": true,
			"first_name": "",
			"confidence_value": 100
		}
    }
  }
}