National ID (without Photo)
The CI NATIONAL_ID_NO_PHOTO
ID type retrieves ID information based on the National ID number (NNI) for new National IDs issued after late 2020 and the document number for National IDs issued before late 2020. When submitting a job, provide either the numeric National ID number or the alphanumeric document number as the id_number
.
Required Inputs
country
CI
id_type
NATIONAL_ID_NO_PHOTO
id_number
National ID Number (NNI) or Document Number
Response Fields
Country
YES
IDType
YES
IDNumber
YES
IssuanceDate
NO
ExpirationDate
NO
FullName
YES
DOB
YES
Photo
NO
PhoneNumber
NO
PhoneNumber2
NO
Document
NO
Gender
YES
Address
YES
All fields are returned as string.
ID Number Regular Expression (Regex)
To limit the probability of your user mistyping the id number, we advice that you enforce the format of the id number field in your app. You can use the regexes below:
/^[0-9]{11}$/
- for the numeric national ID number (NNI) format/^[A-Za-z]\d{10}$/
- for the alphanumeric document number format
Supported Products
The Kenya national id can be used on any of the following products:
For the supported integration options, you can check the integration options supported by each product here.
For Enhanced KYC, the FullData field is deprecated and will now be returned as an empty object "FullData": {}
. Instead, use the top-level keys directly.
Sample ID Numbers
To test the Kenya national id in our Sandbox, we provide you with 5 different id numbers to mirror various scenarios you can experience with real IDs in production.
00000000000
Success with PII return
1012
00000000001
Failure, no record found
1013
00000000002
Invalid ID number format
1014
00000000003
Database unavailable/unknown network issue
1015
00000000004*
Success with custom PII return
1012
* You can read more about customising the PII response in sandbox in our documentation here.
Last updated
Was this helpful?