Skip to main content
POST
/
api
/
onboarding
/
ghana_kyc
/
id_card_with_face
Ghana ID Card with Face
curl --request POST \
  --url https://adhere-api.smartcomply.com/api/onboarding/ghana_kyc/id_card_with_face/ \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "identification_number": "<string>",
  "selfie_image": "<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 Ghana ID Card Advanced endpoint verifies a customer’s identity by matching their Ghana Card number against a submitted selfie image. Returns verified personal details and the registrant’s photo on record.

Endpoint

POST /api/onboarding/ghana_kyc/id_card_with_face/

Request

Headers

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

Body Parameters

ParameterTypeRequiredDescription
identification_numberstringYesThe customer’s Ghana Card number (format: GHA-000000000-0)
selfie_imagestringYesBase64-encoded selfie image for face matching

Example

curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/ghana_kyc/id_card_with_face/" \
  -H "x-access-token: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "identification_number": "GHA-000000000-0",
    "selfie_image": "<base64-encoded-jpeg>"
  }'

Response

200 OK

FieldTypeDescription
data.FullNamestringFull name
data.FirstNamestringFirst name
data.LastNamestringLast name
data.DOBstringDate of birth
data.GenderstringGender
data.AddressstringRegistered address
data.IDNumberstringGhana Card number
data.IssuanceDatestringCard issue date
data.ExpirationDatestringCard expiry date
data.PhotostringBase64-encoded ID photo on record
{
  "status": "success",
  "data": {
    "DOB": "2000-09-20",
    "Photo": "<base64-encoded-jpeg>",
    "Gender": "Male",
    "Address": "OPHELIA JUNCTION, Barimah Close, ESSERESO, BOSOMTWE, ASHANTI, Ghana",
    "Country": "Ghana",
    "FullName": "Joe Leo Doe",
    "IDNumber": "GHA-000000000-0",
    "LastName": "Doe",
    "FirstName": "Joe",
    "OtherNames": "Leo",
    "PhoneNumber": "0000000",
    "IssuanceDate": "2020-08-07",
    "ExpirationDate": "2030-08-07",
    "Secondary_ID_Number": "AQ0000000"
  },
  "message": "Ghana ID Card Advanced 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
identification_number
string
required

Ghana Card number

selfie_image
string
required

Base64-encoded selfie image

Response

ID card with face verified