Kenya NID Match
Overview
The Kenya National ID is the official identification document for citizens and residents, recorded in a central population register. Kenya NID requires the user to input some data about themselves into a form, and then complete a selfie to match their biometrics against the system of record. Customers can bypass the form-fill step by passing in known identity data about the user when launching the integration.
- ID:
kenya-nid-match-2 - Type: eID (database)
- Verification Type: Match
- Regions: Africa
- Countries: KE
- Adoption: 29,000,000
- URL: https://accounts.ecitizen.go.ke/en
Integration with Trinsic
Kenya NID verification is integrated into Trinsic's identity acceptance network allowing businesses to verify users against the government system of record in Kenya.
- Permission required: Yes, this method requires registration before you can activate it for your users. Please contact Trinsic to begin this process.
- Cost: Contact the Trinsic team.
User Flow
User provides their National ID number along with personal information (name, date of birth, gender, phone number). The system verifies that the provided information matches the government database records.
- NOTE: Most fields return a simple "1.0" (exact match) or "0.0" (no match) for their match score. However, names and birth dates can also return "0.9" (data that is out of order, but mostly correct) and "0.5" (a partial match). Names are a partial match when their Levenshtein score is less than or equal to 2, dates are a partial match when a single part of the date (year, month or day) is off by one.
Direct Mode Bypass
In direct mode, customers can bypass form-fill steps by passing known identity data about the user when launching the integration.
How to Test
Make sure you are working within your "Test" environment. Then follow the steps for your method below:
-
Add
kenya-nid-match-2to a verification profile in your "Test" environment. -
Enter the following credentials:
- National ID:
00000000 - Given Name:
Joe - Middle Name:
Doe - Family Name:
Leo - Date of Birth:
09/20/2000
- National ID:
Direct API Requirements
Direct API is not a requirement.You can integrate with this provider using the Hosted UI instead, with no additional integration requirements on your end.
What your integration must support in order to use this provider with the Direct Provider Sessions API.
- Supports Direct Provider Sessions: ✅
- Launch Method:
None— No user-facing action is required to start the flow. - Collection Method:
PollResult— Results arrive asynchronously; poll with theresultsAccessKeyreturned at session creation. - Requires Input: This provider requires input before verification can proceed.
- Trinsic-Hosted UI: A Trinsic-Hosted Fallback UI exists for this provider, which may be invoked to cover gaps in your integration's capabilities.
Outputs
Normalized AttributesThese attributes form part of our normalized model, a standardized set used across providers. Trinsic normalizes this for you and lets you know when a property is available for each provider.
| Field | Availability | Notes |
|---|---|---|
document.type | Always | - |
document.number | Always | - |
document.issuingCountry | Always | - |
match.nationalIdNumber | Always | - |
match.fullName | Always | - |
match.sex | Sometimes | If provided |
match.dateOfBirth | Sometimes | If provided |
| Field | Optional | Description | Example Values |
|---|---|---|---|
nationalIdNumber.inputValue | Yes | The Kenya National ID Number (Nambari ya Kitambulisho) or Unique Personal Identifier (Maisha Namba). This is the primary unique identifier for Kenyan citizens in all government systems, issued by the National Registration Bureau (NRB). The format is up to 8 digits for National ID or 9 digits for Maisha Namba UPI (the new format since 2023). Format: - Up to 8 digits for National ID, unique and sequentially generated - 9 digits for Maisha Namba UPI, unique and randomly generated - Neither number encodes any information about the individual | 12345678 |
nationalIdNumber.outcome | Yes | The outcome of verifying the national ID number against the Integrated Population Registration System (IPRS). Possible values: - Verified - Not Verified - Not Done - Issuer Unavailable - Not Returned | Verified |
fullName.inputValue | Yes | The full name string submitted for this check (as provided in the match input). | OTIENO JUMA ODHIAMBO |
fullName.outcome | Yes | The outcome of comparing the submitted full name against the Integrated Population Registration System (IPRS). Possible values: - Exact Match - Partial Match - Transposed - No Match - Not Returned | Transposed |
dateOfBirth.inputValue | Yes | The date of birth submitted for this check. | 1985-01-02 |
dateOfBirth.outcome | Yes | The outcome of comparing the submitted date of birth against the Integrated Population Registration System (IPRS). Possible values: - Exact Match - Partial Match - Transposed - No Match - Not Returned | Partial Match |
sex.inputValue | Yes | The sex value submitted for this check. Possible input values: - Male - Female | Female |
sex.outcome | Yes | The outcome of comparing the submitted sex against the Integrated Population Registration System (IPRS). Possible values: - Exact Match - No Match - Not Provided - Not Returned | No Match |
Updated 20 days ago
