Mexico National ID
3 min
Verifies input data from the National Identification Number (CURP) issued by the government of Mexico.
For Authorization Get Session Token from Authentication page.
Mexico National ID
* Verification Outcome – Returns KYC verification
* Consumer Consent – N/A
* Mandatory Input – Name, DOB and National ID
* Verifies – Name, DOB, Gender and National ID
* Returned Data - N/A
POST
https://idu-test.datazoo.com/api/v2/verify
Header Parameters
- AuthorizationstringrequiredDescription
Body Parameters
- dataobjectrequiredDescription
- countryCodestringrequiredDescription
- servicearrayrequiredDescription
- clientReferencestringDescription
- firstNamestringrequiredDescription
- middleNamestringDescription
- lastNamestringrequiredDescription
- genderstringDescription
- dateOfBirthstringrequiredDescription
- identityVariablesobjectrequiredDescription
- curpstringrequiredDescription
Response
- countryCodestringDescription
- clientReferencestringDescription
- reportingReferencestringDescription
- validationErrorsstringDescription
- matchStatusstringDescription
- searchErrorMessagestringDescription
- safeHarbourbooleanDescription
- searchStatusstringDescription
- serviceResponsesobjectDescription
- statusintegerDescription
- sourceStatusstringDescription
- errorMessagestringDescription
- identityVerifiedbooleanDescription
- safeHarbourScorestringDescription
- nameMatchScorestringDescription
- addressMatchScorestringDescription
- verificationsobjectDescription
- curpboolean
- dateOfBirthboolean
- firstNameboolean
- genderboolean
- lastNameboolean
- middleNameboolean
- returnedDataobjectDescription
- remarksarrayDescription
curl
curl --location 'https://idu-test.datazoo.com/api/v2/verify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImMtbVZlMl9KRFhMcnkzaEhQWEN4TyJ9.eyJ1aWQiOiIzMDMiLCJvaWQiOiI2MiIsImlzcyI6Imh0dHBzOi8vZGF0YXpvby10ZXN0LnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHwzMDMiLCJhdWQiOiJodHRwczovL2t5Yy10ZXN0LmRhdGF6b28uY29tIiwiaWF0IjoxNzQ2NDAyNTkyLCJleHAiOjE3NDY0Mzg1OTIsImd0eSI6InBhc3N3b3JkIiwiYXpwIjoiSWxVdURJNTF1QXpuVnE2VGVoRXAyOXBrbEhBSjFtYnkifQ.XxtYibYLoilctxJxLcBppZjwqAnUg3Wab4BRwiD_MknCeGJosug5rt_rSvvhx1CJDv5Ti8QWvGZkwY5CoEfywmMmnZScDw-bTWPEF49cSKL3b3TdFb27Amuf0wPXb1MWNhyJZbI-ftloxRMDik6EWOg6hzWTdYaVkQD6muwR9l23eZuBh-QyZ-IYGooThteCOATuuSWSJrf8i4IspoitoNc8WSvM2jEGSzCHazjxMqJS4knSs4Uy6mBH9_CQSb-Q_fDTbfkELL2s5xpfFfHqUrYH-nYEWLtGv0UdsoJ23vWZI-KbfYPdx6TyklWFQ8s8pU6snJsZGBtNCLh0GayrIw' \
--data '{
"countryCode": "MX",
"service": [
"Mexico National ID"
],
"clientReference": "Test_0001",
"firstName": "Cesar Eduardo",
"lastName": "Rodriguez",
"gender": "Male",
"dateOfBirth": "1958-03-28",
"identityVariables": {
"curp": "ROXC580328HNTDXS03"
}
}'200
{
"countryCode": "Mexico",
"clientReference": "Test_0001",
"reportingReference": "DZ-d313bb86-8f3a-437d-b9ff-d51634fe69a2",
"matchStatus": "Full Match 1+1 Verification",
"searchErrorMessage": "",
"safeHarbour": false,
"searchStatus": "Successful",
"serviceResponses": {
"Mexico National ID": {
"status": 0,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": true,
"safeHarbourScore": "L2",
"nameMatchScore": "1.000",
"addressMatchScore": "N/A",
"verifications": {
"curp": true,
"dateOfBirth": true,
"firstName": true,
"gender": true,
"lastName": true
},
"returnedData": {}
}
},
"remarks": []
}404
{
"message": "Ain't no cake like that."
}
Links
Change History
Added
Last updated - 5 May, 2025