National ID (without Photo)
Required Inputs
country
ZW
id_type
NATIONAL_ID_NO_PHOTO
id_number
National ID Number
Response Fields
Country
YES
IDType
YES
IDNumber
YES
IssuanceDate
NO
ExpirationDate
NO
FirstName
YES
LastName
YES
OtherNames
NO
FullName
YES
DOB
YES
Photo
NO
PhoneNumber
NO
PhoneNumber2
NO
Document
NO
Gender
YES
Address
NO
IsAlive
YES
All fields are returned as string, except the IsAlive field returned as boolean
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]{8,9}[A-Za-z]\d{2}$/
Supported Products
The Kenya national id can be used on any of the following products:
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.
000000000A00
Success with PII return
1012
000000000A01
Failure, no record found
1013
000000000A02
Invalid ID number format
1014
000000000A03
Database unavailable/unknown network issue
1015
000000000A04*
Success with custom PII return
1012
Last updated
Was this helpful?