Request

[GET]
{{baseUrl}}/api/v1/gh/kyc/passport

HeaderTypeDescription
AppIdstringyou would need to create an app to get your app ID
Authorizationstringpublic secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G

Query parameter

KeyTypeDescription
id *stringThe Voter Number, Application ID, or National ID Number (NIN)required

Sample response

Response
{
    "entity": {
        "date_of_birth": "1990-04-05",
        "expiry_date": "2022-10-03",
        "first_name": "John",
        "gender": "MALE",
        "id": "G0000000",
        "is_date_of_birth_match": true,
        "is_first_name_match": false,
        "is_last_name_match": true,
        "is_middle_name_match": true,
        "issue_date": "2017-11-03",
        "last_name": "Doe",
        "middle_name": "Jack",
        "picture": "/9j/4AAQSkZJRgABAQAAAQAB",
        "place_of_birth": "TEMA",
        "place_of_issue": "ACCRA"
    }
}