Skip to main content
POST
/
api
/
onboarding
/
nigeria_kyc
/
nin_with_face
NIN with Face
curl --request POST \
  --url https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/nin_with_face/ \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "nin": "12345678901",
  "image_url": "<string>"
}
'
{
  "status": "failed",
  "data": [
    "<unknown>"
  ],
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt

Use this file to discover all available pages before exploring further.

The NIN with Face endpoint verifies a customer’s National Identification Number and performs a facial comparison against a provided photo URL. It returns full NIN profile data plus face match results.

Endpoint

POST /api/onboarding/nigeria_kyc/nin_with_face/

Request

Headers

HeaderValueRequired
x-access-tokenYour API secret keyYes
Content-Typeapplication/jsonYes

Body Parameters

ParameterTypeRequiredDescription
identification_numberstringYesThe customer’s 11-digit National Identification Number
image_urlstringYesURL of the customer’s photo for facial comparison

Example

curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/nin_with_face/" \
  -H "x-access-token: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"identification_number": "70123456789", "image_url": "https://example.com/photo.jpg"}'

Response

200 OK

FieldTypeDescription
data.nin_dataobjectFull NIN profile (same fields as the NIN endpoint)
data.face_data.messagestringFace match result message
data.face_data.confidencenumberMatch confidence percentage (0–100)
data.verification.statusstring"VERIFIED" if identity confirmed
data.verification.referencestringUnique verification reference ID
{
  "status": "success",
  "data": {
    "nin_data": {
      "lastName": "UCHE",
      "firstName": "KARIM",
      "middleName": "IKENNA",
      "gender": "male",
      "dateOfBirth": "2002-11-09",
      "nin": "90187493033",
      "telephoneNo": "09088118811",
      "residenceAddress": "5, ODEYEMI STREET, ANIMASHAUN",
      "residenceLga": "Ifo",
      "residenceState": "Ogun",
      "image": "<base64-encoded-jpeg>"
    },
    "face_data": {
      "message": "Face Match",
      "confidence": 99.99
    },
    "verification": {
      "status": "VERIFIED",
      "reference": "8314a5fc-bdb5-40c8-98bd-72aef9f1a868"
    }
  },
  "message": "National Identification Number details retrieved successfully"
}

400 Bad Request

{
  "status": "failed",
  "data": [],
  "message": "Sorry, your check cannot be processed at the moment. Please try again in a few minutes"
}

401 Unauthorized

{
  "status": "failed",
  "message": "Authentication credentials were not provided."
}

Authorizations

x-access-token
string
header
required

Your Adhere API secret key

Body

application/json
nin
string
required

11-digit NIN

Example:

"12345678901"

image_url
string
required

URL of the selfie image

Response

NIN with face verified