Skip to main content

Verify VNIN

PATCH /api/v1/users/{userId}/nin/{nin}/vnin/{vninCode}

Description

Verifies the VNIN. To initiate this process, dial 3463customer NIN696739# on your phone.

Path Parameters

NameTypeDescription
vninCodestringThe VNIN code to verify (path)
userIdstringThe user ID (path)
ninstringThe NIN (path)

Query Parameters

NameTypeDescription
dobstringDate of birth in YYYY-MM-DD format (query)

Example

PATCH /api/v1/users/{userId}/nin/{nin}/vnin/{vninCode}?dob=1990-01-20
Content-Type: application/json


#### Responses

- **Code:** 200
**Description:** VNIN verified successfully.

**Example Response:**

```json
{
"message": "VNIN verified successfully"
}

Method: PATCH

>http://your-api-url/api/v1/users/{userId}/nin/{nin}/vnin/{vninCode}

Example Request

PATCH /api/v1/users/123/nin/456/vnin/789
Content-Type: application/json

{
"dob": "1990-01-20"
}

Headers

Content-TypeValue
apiKey{{apiKey}}
userId123
nin456
vninCode789

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/users/{userId}/nin/{nin}/vnin/{vninCode} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!