post https://api.prod.metamap.com/govchecks/v1/pa/tse
Verify a user's DNI against the Panamanian TSE database via document number and a selfie photo
This API Requires a Webhook URL
Go here for more information on setting up a webhook listener.
If the document number is valid and the selfie matches the face within Panama TSE's database, MetaMap will return a boolean value whether this is true or valid or false in case this is not valid.
The following is an example request:
curl --location 'https://api.getmati.com/govchecks/v1/pa/tse' \
--header 'Authorization: Bearer {{TOKEN}}' \
--form 'documentNumber="0-000-0000"' \
--form 'callbackUrl="https://some.webhook.url"' \
--form 'selfie=@"/filepath/selfie.jpg"'