# Voters Card

## Voters card verification for sierra leone

<mark style="color:green;">`POST`</mark> `{{BAS_URL}}/api/v1/biometrics/merchant/data/verification/sl/voters`

this endpoint allows you to verify a sierra leone Voters card number

#### Headers

| Name                                        | Type   | Description        |
| ------------------------------------------- | ------ | ------------------ |
| x-api-key<mark style="color:red;">\*</mark> | String | \<your secret key> |

#### Request Body

| Name                                           | Type   | Description                           |
| ---------------------------------------------- | ------ | ------------------------------------- |
| search\_mode<mark style="color:red;">\*</mark> | String | ID or BIO                             |
| number                                         | String | ID number(if search \_mode is ID)     |
| firstname                                      | String | first name(if search\_mode is BIO)    |
| lastname                                       | String | last name(if search\_mode is BIO)     |
| middlename                                     | String | middle name(if search\_mode is BIO)   |
| dob                                            | String | Date of birth(if search\_mode is BIO) |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
   "status":True,
   "response_code":"00",
   "message":"Voters card verification successful",
   "data":
   {
"IdNumber":"E123456",
"CenterCode":"1001",
"Ward":"21",
"Constituency": "38",
"District":"",
"LastName": "DOE",
"OtherNames":"JOHN",
"Sex":"M",
"DateOfBirth":"February 15,2018 ",
"Address":"22 Kamal Street",
"Village": "Makeni",
"Picture":"<base 64 string of users face>"
}
   
}
```

{% endtab %}
{% endtabs %}
