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
HeaderTypeDescription
AppIdstringCreate an app to get your app ID on dashboard here
Authorizationstringpublic secret key

Body parameters

ParameterTypeDescriptionRequired
selfie_imagestringBase64 value of the selfie image NB: Kindly truncate data:image/jpeg;base64, from the selfie_image object.required
photoid_imagestringBase64 value of the photoId image NB: Kindly truncate data:image/jpeg;base64, from the photoid_image object.required
first_namestringFirst Nameoptional
last_namestringLast Nameoptional

πŸ“˜ 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
		}
    }
  }
}