Verify NIN for User
PATCH /api/v1/users/{userId}/nin/{nin}/verify
Description
Verify the National Identification Number (NIN) for a specific user.
Path Parameters
| Name | Type | Description |
|---|---|---|
nin | string | The National Identification Number (path) |
userId | string | The user ID (path) |
Query Parameters
| Name | Type | Description |
|---|---|---|
dob | string | Date of birth in YYYY-MM-DD format (query). Send this if BVN verification hasn't been done. Example: 1990-01-20 |
Example
PATCH /api/v1/users/usr123/nin/123456789/verify?dob=1990-01-20
Response Code: 200 - OK
Description
The NIN was verified successfully.
Method: PATCH
>http://your-api-url/api/v1/users/{userId}/nin/{nin}/verify
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/users/{userId}/nin/{nin}/verify \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!