Last updated
Last updated
All fields are returned as string
To limit the probability of your user mistyping the id number, we advice that you enforce the format of the id number field in your app. You can use the regex below:
/^[A-Z]{1,2}[0-9]{6,7}$/i
The Ghana passport can be used on any of the following products:
To test the Ghana passport in our Sandbox, we provide you with 5 different id numbers to mirror various scenarios you can experience with real IDs in production.
For the supported integration options, you can check the integration options supported by each product .
* to get a successful Biometric KYC, you will need to pass a custom photo. You can read more about customising the PII response in sandbox in our documentation .
Country
YES
IDType
YES
IDNumber
YES
IssuanceDate
YES
ExpirationDate
YES
FullName
YES
DOB
YES
Photo
YES
PhoneNumber
NO
PhoneNumber2
NO
Document
NO
Gender
YES
Address
NO
G0000000
Success with PII return
1012
G0000001
Failure, no record found
1013
G0000002
Invalid ID number format
1014
G0000003
Database unavailable/unknown network issue
1015
G0000004*
Success with custom PII return
1012
country
GH
id_type
PASSPORT
id_number
Passport number