National Identification Number (NIN)
Verify an 11-digit NIN against the NIMC database. Verixa provides universal REST endpoint compatibility across basic demographics, advance records with portraits and addresses, premium tiers, NIMC slips, and live biometric face matching.
Available Endpoints & Tiers
POST /api/v1/kyc/nin or GET /api/v1/kyc/nin?nin=...Direct connection to National Identity Database Basic (GET /api/v1/kyc/nin). Returns full name, gender, date of birth, phone number, and photo.
POST /api/v1/kyc/nin/advance or GET ?nin=...Direct connection to National Identity Database Advance (GET /api/v1/kyc/nin/advance). Adds birth details, full residence address, state and LGA of origin, next-of-kin, and tracking ID.
POST /api/v1/kyc/nin/premium or GET ?nin=...Generates the high-resolution NIMC plastic wallet card image (entity.image) with verified demographics and portrait. (₦120 / API call)
POST /api/v1/kyc/nin/premium-details or GET ?nin=...Full National Identity Database Premium record (₦300 / live call). Returns all demographics, education, spoken languages, profession, religion, origin, residence, height, title, signature, parent details (p_*), and next-of-kin (nok_*).
POST /api/v1/kyc/nin/nin_slip or GET ?nin=...Direct connection to National Identity Database NIN Slip (GET /api/v1/kyc/nin/nin_slip). Resolves official printable NIMC slip data, tracking ID, and nin_id (base64 PDF).
POST /api/v1/kyc/nin/verifyMatches live user selfie against the government NIMC identity image.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| nin | string | Required | The 11-digit National Identity Number. Accepted via URL query param or JSON request body. |
| consent | boolean | Optional | Mandatory NDPA user consent flag. Recommended true. |
1. Basic NIN Lookup (GET /api/v1/kyc/nin)
Retrieves core citizen identity: full names, gender, date of birth, phone number, and portrait photo.
| curl -X POST "https://api.verixaid.com/api/v1/kyc/nin" \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1e2b4c6d8_a1b2c3d4..." \ |
| -H "Content-Type: application/json" \ |
| -d '{ |
| "nin": "70123456789", |
| "consent": true |
| }' |
| { |
| "entity": { |
| "first_name": "John", |
| "last_name": "Musa", |
| "gender": "Male", |
| "middle_name": "Doe", |
| "photo": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBD…", |
| "date_of_birth": "1982-01-01", |
| "phone_number": "08012345678", |
| "employment_status": "unemployment", |
| "marital_status": "Single" |
| } |
| } |
2. Advance NIN Lookup (GET or POST /api/v1/kyc/nin/advance)
Adds comprehensive residence address, state of origin, tracking ID, and next-of-kin information.
| curl -X POST "https://api.verixaid.com/api/v1/kyc/nin/advance" \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1e2b4c6d8_a1b2c3d4..." \ |
| -H "Content-Type: application/json" \ |
| -d '{ |
| "nin": "70123456789", |
| "consent": true |
| }' |
| { |
| "entity": { |
| "nin": "70123456789", |
| "first_name": "JOHN", |
| "last_name": "ADAMU", |
| "middle_name": "DOE", |
| "date_of_birth": "1990-01-01", |
| "phone_number": "08012345678", |
| "photo": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL....", |
| "gender": "Male", |
| "birth_country": "nigeria", |
| "birth_lga": "Ikeja", |
| "birth_state": "Lagos", |
| "residence_address_line_1": "1, EXAMPLE STREET", |
| "residence_status": "birth", |
| "residence_town": "IKEJA", |
| "residence_lga": "Ikeja", |
| "residence_state": "Lagos", |
| "origin_lga": "Ikeja", |
| "origin_place": "IKEJA", |
| "origin_state": "Lagos", |
| "nok_first_name": "JANE", |
| "nok_middle_name": "AMINA", |
| "nok_last_name": "ADAMU", |
| "nok_town": "IKEJA", |
| "nok_lga": "Ikeja", |
| "nok_address_line_1": "1, EXAMPLE STREET" |
| } |
| } |
2b. Premium NIN Details (GET or POST /api/v1/kyc/nin/premium-details)
Full National Identity Database Premium lookup (₦300 / live call). Returns complete citizen demographics, education, spoken languages, profession, religion, origin, residence, height, title, signature, parent details, next-of-kin, and the synthesized NIMC Card Premium image (card_image).
| curl --request GET \ |
| "https://api.verixaid.com/api/v1/kyc/nin/premium-details?nin=70123456789&consent=true" \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1e2b4c6d8_a1b2c3d4..." |
| { |
| "entity": { |
| "nin": "70123456789", |
| "first_name": "JOHN", |
| "last_name": "ANON", |
| "middle_name": "DOE", |
| "date_of_birth": "1990-01-01", |
| "phone_number": "08012345678", |
| "photo": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL....", |
| "gender": "Male", |
| "employment_status": "unemployed", |
| "birth_country": "nigeria", |
| "birth_lga": "Ikeja", |
| "birth_state": "Lagos", |
| "educational_level": "tertiary", |
| "nspoken_lang": "YORUBA", |
| "ospoken_lang": "ENGLISH", |
| "profession": "STUDENT", |
| "religion": "christianity", |
| "residence_address_line_1": "1, EXAMPLE STREET", |
| "residence_status": "birth", |
| "residence_town": "IKEJA", |
| "residence_lga": "Ikeja", |
| "residence_state": "Lagos", |
| "origin_lga": "Ikeja", |
| "origin_place": "IKEJA", |
| "origin_state": "Lagos", |
| "height": "171", |
| "title": "mr", |
| "signature": "/9j/4AAQSkZJRgABAQEAlgCWAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL....", |
| "p_first_name": "", |
| "p_middle_name": "", |
| "p_last_name": "", |
| "p_town": "", |
| "p_lga": "", |
| "p_address_line_1": "", |
| "nok_first_name": "JANE", |
| "nok_middle_name": "DOE", |
| "nok_last_name": "ANON", |
| "nok_town": "IKEJA", |
| "nok_lga": "Ikeja", |
| "nok_address_line_1": "1, EXAMPLE STREET", |
| "card_image": "iVBORw0KGgoAAAANSUhEUgAA..." |
| } |
| } |
3. Official NIN Slip Record (GET /api/v1/kyc/nin/nin_slip)
Resolves official printable NIMC slip record with tracking ID and nin_id containing the base64 encoded PDF document.
| curl -X POST "https://api.verixaid.com/api/v1/kyc/nin/nin_slip" \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1e2b4c6d8_a1b2c3d4..." \ |
| -H "Content-Type: application/json" \ |
| -d '{ |
| "nin": "70123456789", |
| "consent": true |
| }' |
| { |
| "entity": { |
| "nin": "1*****78910", |
| "first_name": "John", |
| "last_name": "Musa", |
| "middle_name": "Doe", |
| "date_of_birth": "1909-01-11", |
| "phone_number": "081123456798", |
| "gender": "Male", |
| "photo": "/9j/4AAQSkZJRg…", |
| "nin_id": "JVBERi0xLjQ…", |
| "cardPdfBase64": "JVBERi0xLjQ…" |
| } |
| } |
4. Digital NIN Card Generator (POST /api/v1/slips/nin/card)
Generates the official NIMC Digital NIN Card (ID-1 credit-card format without residential address), featuring citizen portrait photo, names, DOB, gender, 2D QR verification code, and 11-digit NIN.
| curl -X POST "https://api.verixaid.com/api/v1/slips/nin/card" \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1e2b4c6d8_a1b2c3d4..." \ |
| -H "Content-Type: application/json" \ |
| -d '{ |
| "nin": "70123456789", |
| "consent": true |
| }' |
| { |
| "status": "success", |
| "data": { |
| "nin": "70123456789", |
| "firstName": "JOHN", |
| "surname": "MUSA", |
| "gender": "MALE", |
| "birthdate": "1990-01-01", |
| "nin_id": "JVBERi0xLjQ…", |
| "pdfBase64": "JVBERi0xLjQ…", |
| "cardPdfBase64": "JVBERi0xLjQ…", |
| "cardSvg": "<svg viewBox=\"0 0 800 507\">...</svg>" |
| } |
| } |
5. NIN Face Match Verification (POST /api/v1/kyc/nin/verify)
Verify an applicant's identity with biometric certainty by matching their live captured selfie against the NIMC registry photograph.
| curl -X POST https://api.verixaid.com/api/v1/kyc/nin/verify \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1..." \ |
| -H "Content-Type: application/json" \ |
| -d '{ |
| "nin": "70123456789", |
| "selfie_image": "/9j/4AAQSkZJRgABAQ...", |
| "threshold": 90, |
| "consent": true |
| }' |