Mexico National ID 2
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 2
* 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 2"
],
"clientReference": "testacccount123",
"firstName": "Felipe De Jesus",
"middleName": "",
"lastName": "Calderon Hinojosa",
"gender": "Male",
"dateOfBirth": "1962-08-18",
"identityVariables": {
"curp": "CAHF620818HMNLNL09"
},
}200
{
"countryCode": "Mexico",
"clientReference": "testacccount123",
"reportingReference": "DZ-8a5f9311-8c42-4968-b214-3b06a50806b7",
"matchStatus": "Full Match 1+1 Verification",
"searchErrorMessage": "",
"safeHarbour": false,
"searchStatus": "Successful",
"serviceResponses": {
"Mexico National ID 2": {
"status": 0,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": true,
"safeHarbourScore": "M2",
"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