POST
/
api
/
v1
/
kyc
/
photoid
/
verify
curl --request POST \
  --url https://api.dojah.io/api/v1/kyc/photoid/verify \
  --header 'AppId: <appid>' \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "photoid_image": "<string>",
  "selfie_image": "<string>",
  "last_name": "<string>",
  "first_name": "<string>"
}'
{
  "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
		}
    }
  }
}
AppId
string
required

Application ID from dashboard

BODY PARAMS

photoid_image
string
required

Photo image in Base 64 (Passport, NIN, Voter’s Card, Driver’s License)

selfie_image
string

Base64 value of the selfie image (NB: Kindly truncate data:image/jpeg;base64, from the selfie_image object).

last_name
string
first_name
string

RESPONSES

200
json

json

400
Object
401
Object
{
  "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
		}
    }
  }
}

Was this page helpful?