Lookup Ghana Passport

Lookup a Ghana International Passport

This endpoint allows you to verify a Ghana International Passport.

Parameters

{{baseUrl}}/api/v1/gh/kyc/passport?id=C00000000021&first_name="John"&last_name="Doe"&middle_name="John"&date_of_birth="1990-04-05"

Header

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

Query Params

BodyTypeDescription
id *stringThe Voter Number, Application ID, or National ID Number (NIN)required
first_name *stringThe first name of the document holderrequired
last_name *stringThe last name of the document holderrequired
middle_name *stringThe middle name of the document holderrequired
date_of_birth *stringThe date of birth of the document holder in the format yyyy-MM-DDrequired

πŸ“˜

Example

{{baseUrl}}/api/v1/gh/kyc/passport?id=C00000000021&first_name="John"&last_name="Doe"&middle_name="John"&date_of_birth="1990-04-05"

Response Sample

{
  "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": "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAA",
    "place_of_birth": "TEMA",
    "place_of_issue": "ACCRA"
  }
}
{
  "message": "Passport not found"
}

What’s Next