Skip to main content
POST
/
api
/
onboarding
/
rwanda_kyc
/
national_id
Rwanda National ID
curl --request POST \
  --url https://adhere-api.smartcomply.com/api/onboarding/rwanda_kyc/national_id/ \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "national_id": "1199780123456789"
}
'
{
  "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 Rwanda National ID endpoint validates a customer’s National Identification Number against Rwanda’s national registry and returns the associated personal details.

Endpoint

POST /api/onboarding/rwanda_kyc/national_id/

Request

Headers

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

Body Parameters

ParameterTypeRequiredDescription
national_idstringYesThe customer’s Rwandan National Identification Number

Example

curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/rwanda_kyc/national_id/" \
  -H "x-access-token: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"national_id": "1122334455667788"}'

Response

200 OK

FieldTypeDescription
data.first_namestringCustomer’s first name
data.last_namestringCustomer’s last name
data.date_of_birthstringDate of birth
data.national_idstringNational ID number
data.genderstringGender
data.nationalitystringNationality
{
  "status": "success",
  "data": {
    "first_name": "John",
    "last_name": "Doe",
    "date_of_birth": "1990-01-01",
    "national_id": "1122334455667788",
    "gender": "Male",
    "nationality": "Rwandan"
  },
  "message": "National ID details retrieved successfully"
}

400 Bad Request

{
  "status": "failed",
  "data": [],
  "message": "Missing required fields"
}

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
national_id
string
required
Example:

"1199780123456789"

Response

National ID verified