post https://api.prod.metamap.com/govchecks/v1/gh/verify-card
Validates national identity information by checking against Ghana’s National Identification Authority (NIA) database for the Ghana Card.
Webhook response
{
"data": {
"placeOfIssueCode": null,
"placeOfIssue": null,
"personalNumber": "GHA-000000000-0",
"regDate": null,
"expiryDate": null,
"picture": null,
"signature": null,
"nationality": "",
"placeOfBirth": "",
"dateOfBirth": "",
"gender": "",
"middleName": "",
"lastName": "LASTNAME",
"firstName": "FIRSTNAME"
},
"error": null,
"metadata": {
"Key1": "Value1",
"Key2": "Value2"
}
}
Webhook errors
"error": {
"type": "govCheckError",
"code": "ghanaianVerifyCard.notFound",
"message": "No results were found in the Ghanaian Verify Card database"
}
"error": {
"type": "govCheckError",
"code": "ghanaianVerifyCard.notValidParams",
"message": "The data passed appears to be invalid"
}
"error": {
"type": "govCheckError",
"code": "ghanaianVerifyCard.serviceUnavailable",
"message": "The Ghanaian Verify Card service is unavailable"
}
"error": {
"type": "govCheckError",
"code": "system.internalError",
"message": "Internal error has occurred"
}