Verify Voter's Card
PATCH /api/v1/users/{userId}/voters-card/verify
Description
Verify a voter's card for a specific user.
Path Parameters
| Name | Type | Description |
|---|---|---|
userId | string | The 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-Type | Value |
|---|---|
| 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
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
LANGUAGE
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!