Peru National ID
3 min
Verifies input data from the National Identification Number (DNI) issued by the government of Peru.
For Authorization Get Session Token from Authentication page.
Peru National ID
* Verification Outcome – Returns KYC verification
* Consumer Consent – N/A
* Mandatory Input – Name, DOB and National ID (DNI) number
* Verifies – Name, DOB 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
- dateOfBirthstringrequiredDescription
- identityVariablesobjectrequiredDescription
- nationalIDNostringrequiredDescription
Response
- countryCodestringDescription
- clientReferencestringDescription
- reportingReferencestringDescription
- validationErrorsstringDescription
- matchStatusstringDescription
- searchErrorMessagestringDescription
- safeHarbourbooleanDescription
- searchStatusstringDescription
- serviceResponsesobjectDescription
- statusintegerDescription
- sourceStatusstringDescription
- errorMessagestringDescription
- identityVerifiedbooleanDescription
- safeHarbourScorestringDescription
- nameMatchScorestringDescription
- addressMatchScorestringDescription
- verificationsobjectDescription
- dateOfBirthboolean
- firstNameboolean
- lastNameboolean
- middleNameboolean
- nationalIDNoboolean
- 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": "PE",
"service": [
"Peru National ID"
],
"clientReference": "Test_0001",
"firstName": "ANDY ",
"middleName": "WILBER",
"lastName": "ZAPATA DELGADO",
"dateOfBirth": "1993-11-23",
"identityVariables": {
"nationalIDNo": "72953609"
}
}'200
{
"countryCode": "Peru",
"clientReference": "Test_0001",
"reportingReference": "DZ-4c7c45ec-1f75-436e-a5f9-3bf610cbd996",
"matchStatus": "Full Match 1+1 Verification",
"searchErrorMessage": "",
"safeHarbour": false,
"searchStatus": "Successful",
"serviceResponses": {
"Peru National ID": {
"status": 0,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": true,
"safeHarbourScore": "L2",
"nameMatchScore": "1.000",
"addressMatchScore": "N/A",
"verifications": {
"dateOfBirth": true,
"firstName": true,
"lastName": true,
"middleName": true,
"nationalIDNo": true
},
"returnedData": {}
}
},
"remarks": []
}404
{
"message": "Ain't no cake like that."
}
Links
Change History
Added
Last updated - 5 May, 2025