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
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 |
Query Params
Key | Type | Description | |
---|---|---|---|
id * | string | The Voter Number, Application ID, or National ID Number (NIN) | required |
first_name * | string | The first name of the document holder | required |
last_name * | string | The last name of the document holder | required |
middle_name* | string | The middle name of the document holder | required |
date_of_birth* | string | The date of birth of the document holder in the format yyyy-MM-DD | required |
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"
}
Updated 6 months ago