# Voters Card

## Fetch Voters Card details

<mark style="color:green;">`POST`</mark> `https://vapi.verifyme.ng/v1/verifications/identities/vin/:ref`

This endpoint allows you to get voters card details.

#### Path Parameters

| Name | Type   | Description        |
| ---- | ------ | ------------------ |
| ref  | string | Voters card number |

#### Headers

| Name           | Type   | Description         |
| -------------- | ------ | ------------------- |
| Authentication | string | Authorization token |

#### Request Body

| Name      | Type   | Description                  |
| --------- | ------ | ---------------------------- |
| dob       | string | date of birth ( YYYY-MM-DD ) |
| lastname  | string | lastname on voters card      |
| firstname | string | firstname on voters card     |

{% tabs %}
{% tab title="201 " %}

```
{
    "status": "success",
    "data": {
        "fullname": "DOE JOHN",
        "vin": "90A5AB0797293845330",
        "gender": "male",
        "occupation": "STUDENT",
        "pollingUnitCode": "24/08/02/015",
        "firstName": "JOHN",
        "lastName": "DOE"
    }
}
```

{% endtab %}

{% tab title="404 " %}

```
{
    "statusCode": 404,
    "error": "Not Found",
    "message": "Voters Details not found"
}
```

{% endtab %}
{% endtabs %}
