Skip to content
KYC / Identity

National ID

POST https://credit.farmsky.africa/v3/kyc/national-id

Verify a national identity number against the government registry.

Looks up a person by their national identity number and returns the matched record (names, date of birth, gender and registry photo where available).

identity:read

Headers

Authorization string required Defaults to Bearer {CLIENT_ID}:{CLIENT_SECRET}
Your API client id and secret, joined by a colon. Manage credentials in the Console.
x-api-key string optional Defaults to {API_KEY}
Alternative single-value secret key header (equivalent to X-Api-Secret). Never expose it in client-side code.
Content-Type string required Defaults to application/json
All request bodies are JSON unless the endpoint accepts multipart/form-data (file uploads).

Body Params

number string required
The national ID number to verify.
country_code string Defaults to KE
ISO-3166 alpha-2 country code (KE, UG, TZ, …).
Updated recently