post https://api.prod.metamap.com/govchecks/v1/panama-tse-facematch
Validates national identity information and performs biometric face verification against the government’s biometric database.
Webhook response
{
"data": {
“documentNumber”: "0-000-0000",
“Name”: "JOHN",
“Surname”: "DOE",
“Gender”: "M/F",
“birthPlace”:"XXXXXXX",
“dateOfBirth”:"DD-MM-YYYY",
“emissionDate”:"DD-MM-YYYY",
“Expiration”Date:"DD-MM-YYYY",
“signature”:"image base64"
},
"error": null,
"metadata": {
"key": "value"
}
}
Webhook errors
"error": {
"type": "govCheckError",
"code": "panamaTseFacematch.notFound",
"message": "No results were found in the database"
}
"error": {
"type": "govCheckError",
"code": "panamaTseFacematch.notValidParams",
"message": "The data passed appears to be invalid"
}
"error": {
"type": "govCheckError",
"code": "panamaTseFacematch.serviceUnavailable",
"message": "The Panama TSE Facematch service is unavailable"
}
"error": {
"type": "govCheckError",
"code": "system.internalError",
"message": "Internal error has occurred"
}
"error": {
"type": "govCheckError",
"code": "panamaTseFacematch.invalid",
"message": "The document number belongs to an under 12 years old citizen"
}
"error": {
"type": "govCheckError",
"code": "panamaTseFacematch.deceased",
"message": "The document number belongs to a deceased citizen"
}
"error": {
"type": "govCheckError",
"code": "panamaTseFacematch.invalid",
"message": "This document number has an invalid subscription"
}