Skip to main content

Verify Voter's Card

PATCH /api/v1/users/{userId}/voters-card/verify

Description

Verify a voter's card for a specific user.

Path Parameters

NameTypeDescription
userIdstringThe ID of the user (path)

Request Body

  • Content Type: application/json
{
"voterCardNumber": "string",
"licenseDocument": "string",
"country": {
"name": "string",
"code": "string",
"currency": "string"
},
"state": {
"name": "string",
"code": "string"
},
"lga": {
"name": "string",
"code": "string"
},
"dob": "string"
}

Response Code: 200 - OK

Description

No specific links provided.

Method: PATCH

>http://your-api-url/api/v1/users/{userId}/voters-card/verify

Headers

Content-TypeValue
apiKey{{apiKey}}

Body

{
"voterCardNumber": "1234567890",
"licenseDocument": "ABC123",
"country": {
"name": "Nigeria",
"code": "NG",
"currency": "NGN"
},
"state": {
"name": "Lagos",
"code": "LA"
},
"lga": {
"name": "Ikeja",
"code": "IK"
},
"dob": "1990-01-01"
}

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/users/{userId}/voters-card/verify \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


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