Lookup Ghana Voter ID

Lookup Ghana Voter ID

This endpoint allows you to verify a Ghana Voter ID card.

Parameters

{{baseUrl}}/api/v1/gh/kyc/voter

Header

Header

Type

Description

AppId

string

you would need to create an app to get your app ID

Authorization

string

public secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G

Body

Body

Type

Description

id *

string

The Voter ID number

required

is_new_id

boolean

Whether this is a 2020 issued voter ID or the older ID. This is by default false until 1 September 2021, then it would be true by default.

full_name *

string

The full name of the document holder as it appears on the ID

required

Response Sample

{
    entity: {
            "id": "123456789",
            "full_name": "JOHN DOE",
            "date_of_birth": "25",
            "gender": "M",
            "polling_station": "C121402",
            "registration_date": "2012-09-04",
            "picture": "BASE64 ENCODED IMAGE",
            "is_full_name_match": true
    }
}
{
    "error": "Voter ID record not found"
}

Did this page help you?