Kenya
National ID Basic
Verify a Kenyan customer’s identity using their national ID number.
POST
Kenya National ID Basic
The Kenya National ID Basic endpoint retrieves verified identity data from the Kenyan government’s IPRS database, returning the ID holder’s full name, gender, citizenship, and photo.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.
Endpoint
Request
Headers
| Header | Value | Required |
|---|---|---|
x-access-token | Your API secret key | Yes |
Content-Type | application/json | Yes |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
national_id | string | Yes | The customer’s Kenyan national ID number |
Example
Response
200 OK
| Field | Type | Description |
|---|---|---|
data.First_Name | string | Customer’s first name |
data.Surname | string | Customer’s surname |
data.Other_Name | string | Other names |
data.Gender | string | "M" or "F" |
data.Citizenship | string | e.g., "Kenyan" |
data.Date_of_Birth | string | Date of birth |
data.Date_of_Issue | string | ID issue date |
data.Place_of_Birth | string | Place of birth including district |
data.Place_of_Live | string | Registered address |
data.Photo | string | Base64-encoded customer photo |
data.ErrorOcurred | boolean | false on success |

