NIN Slips & NIMC Cards API
Produce official, print-ready National Identification Number slips and digital ID documents via high-speed REST API. Verixa returns the complete verified demographic dataset (names, date of birth, gender, phone, residential address, biometric portrait) alongside print-ready base64 PDF payloads for instant developer integration.
Available Document Pipelines
Official standard government A4 paper slip with full address:
- Full residential street address, LGA, state of origin
- Official tracking ID and citizen portrait
- Standard government A4 printable PDF
Standard official digital identity card document:
- Official ID-1 card dimensions
- Resolved directly with verified portrait and citizen credentials
- Instant high-res PDF
High-resolution digital wallet card with folding template:
- Official security guilloche patterns and barcode
- Ready-to-print folding template
- Available via /api/slips/nin/premium
1. Generate NIN Slip or Card (/api/v1/slips/nin)
Performs regulatory identity verification and document synthesis. Returns the citizen's verified demographic data alongside the base64-encoded PDF document.
Request Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| nin | string | Required | 11-digit National Identity Number. |
| format | string | Optional | Document type: "card" (Official NIMC Upstream Slip) or "slip" (Standard DOCX to PDF Slip). Defaults to "card". |
| cardType | string | Optional | Explicit alias for format: "card" or "slip". |
| consent | boolean | Required | NDPA data subject consent confirmation (must be true). |
Returned Demographic Attributes (Trust Bricks & Developer Integration)
API clients can extract these fields directly from the response root or within the data / entity payload to populate customer onboarding forms and databases:
| Field | Type | Description / Sample Value |
|---|---|---|
| nin | string | 11-digit verified National Identification Number (e.g. "30882411172"). |
| first_name | string | Applicant given name (e.g. "ELISON"). |
| last_name | string | Applicant surname (e.g. "ERIC"). |
| middle_name | string | Applicant middle name (e.g. "EDWARD"). |
| full_name | string | Concatenated full legal name (e.g. "ERIC ELISON EDWARD"). |
| date_of_birth | string | ISO date of birth formatted as YYYY-MM-DD. |
| gender | string | Gender classification: "MALE" or "FEMALE". |
| phone_number | string | Registered applicant telephone number (e.g. "0803894606"). |
| residence_address_line_1 | string | Primary residential address on record with NIMC. |
| residence_lga | string | Local Government Area of residence. |
| residence_state | string | State of residence. |
| birth_state | string | State of origin / birth state. |
| photo / photoBase64 | string | Clean Base64-encoded JPEG citizen biometric portrait. |
| pdfBase64 / nin_id | string | Complete Base64-encoded PDF document ready for streaming, storage, or iframe rendering. |
| curl -X POST "https://api.verixaid.com/api/v1/slips/nin" \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1e2b4c6d8..." \ |
| -H "Content-Type: application/json" \ |
| -d '{ |
| "nin": "30882411172", |
| "format": "card", |
| "consent": true |
| }' |
| { |
| "success": true, |
| "status": "success", |
| "nin": "30882411172", |
| "tracking_id": "VNX-3088-2411-1172", |
| "first_name": "ELISON", |
| "last_name": "ERIC", |
| "middle_name": "EDWARD", |
| "full_name": "ERIC ELISON EDWARD", |
| "date_of_birth": "2005-01-03", |
| "gender": "MALE", |
| "phone_number": "0803894606", |
| "residence_address_line_1": "ARMY BARRACK ROAD BEHIND HOMTEL", |
| "residence_lga": "Jalingo", |
| "residence_state": "Taraba", |
| "birth_state": "Taraba", |
| "photo": "/9j/4AAQSkZJRgABAQEASABIAAD/2wBD...", |
| "slipType": "card", |
| "nin_id": "JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZw...", |
| "pdfBase64": "JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZw...", |
| "meta": { |
| "cached": false, |
| "cost_ngx": 250, |
| "referenceId": "vx_slip_8e079a45b1", |
| "latency_ms": 138 |
| } |
| } |
2. On-Demand Document Reconstruction (/api/v1/slips/on-demand)
Re-synthesizes an official PDF document from an encrypted historical transaction record without requiring long-term binary file retention. Streams the binary PDF directly.
| Field | Type | Required | Description |
|---|---|---|---|
| logId | string (UUID) | Required | The verification transaction log ID. |
| format | string | Optional | "card" or "slip". |
| curl -X POST "https://api.verixaid.com/api/v1/slips/on-demand" \ |
| -H "Authorization: Bearer vrx_live_9f83a8f1e2b4c6d8..." \ |
| -H "Content-Type: application/json" \ |
| -d '{ |
| "logId": "550e8400-e29b-41d4-a716-446655440000", |
| "format": "card" |
| }' --output NIMC_Slip_Reconstructed.pdf |
NDPC / NDPA 2023Data Retention & Zero Binary Bloat Architecture
To comply with the Nigeria Data Protection Act (NDPA 2023) and minimize storage bloat, Verixa does not retain generated binary PDF files in databases or disks. Instead: