Sequenced Searching
Sequenced searching in Brazil can be configured for clients upon request.
When making sequenced calls for Brazil, the API input for the serviceMUST be set to "Brazil Residential".
Example - API Requests and Responses with following services configured:
Brazil Tax Registration Brazil National ID Brazil Residential Brazil National ID 2
- AuthorizationstringrequiredDescription
- dataobjectrequiredDescription
- countryCodestringrequiredDescription
- servicearrayrequiredDescription
- clientReferencestringDescription
- fullNamestringrequiredDescription
- firstNamestringrequiredDescription
- middleNamestringDescription
- lastNamestringrequiredDescription
- dateOfBirthstringrequiredDescription
- addressElement1stringrequiredDescription
- addressElement2stringDescription
- addressElement3stringrequiredDescription
- addressElement4stringDescription
- addressElement5stringrequiredDescription
- identityVariablesobjectrequiredDescription
- phoneNostringDescription
- cpfstringrequiredDescription
- countryCodestringDescription
- clientReferencestringDescription
- reportingReferencestringDescription
- validationErrorsstringDescription
- matchStatusstringDescription
- searchErrorMessagestringDescription
- safeHarbourbooleanDescription
- searchStatusstringDescription
- serviceResponsesobjectDescription
- statusintegerDescription
- sourceStatusstringDescription
- errorMessagestringDescription
- identityVerifiedbooleanDescription
- safeHarbourScorestringDescription
- nameMatchScorestringDescription
- addressMatchScorestringDescription
- verificationsobjectDescription
- addressElement1boolean
- addressElement2boolean
- addressElement3boolean
- addressElement4boolean
- addressElement5boolean
- cpfboolean
- dateOfBirthboolean
- firstNameboolean
- fullNameboolean
- lastNameboolean
- middleNameboolean
- returnedDataobjectDescription
- categorystringDescription
- sourcestringDescription
- addressstringDescription
- dateOfDeathstringDescription
- dateOfRegistrationstringDescription
- matchedAddressstringDescription
- registrationStatusstringDescription
- remarksarrayDescription
curl --location 'https://idu-test.datazoo.com/api/v2/verify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImMtbVZlMl9KRFhMcnkzaEhQWEN4TyJ9.eyJ1aWQiOiIzMDMiLCJvaWQiOiI2MiIsImlzcyI6Imh0dHBzOi8vZGF0YXpvby10ZXN0LnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHwzMDMiLCJhdWQiOiJodHRwczovL2t5Yy10ZXN0LmRhdGF6b28uY29tIiwiaWF0IjoxNzQ1ODg0Mjg2LCJleHAiOjE3NDU5MjAyODYsImd0eSI6InBhc3N3b3JkIiwiYXpwIjoiSWxVdURJNTF1QXpuVnE2VGVoRXAyOXBrbEhBSjFtYnkifQ.EaCawREtQ7I-OiOELMh7BcvIY1augcEUQNnsHpqdU2O6DSIMJXqedRaJe9tyGHTatb1sbpZSwsMcInDGv03hfKfiClu8ulqAiDELs5SnC6-Dj4b3ei1nw0Zz2mm4xsH613YYoIQ6bPaMKrW9E4qMAnYDgJC9kWaPxG8cvZjkL7LYHmdapGYdYzgatX27U88SPVWjHfBhISxcgHkdCit5n55h-t-B0e6_BCkazTXPRuv4SF0St1awFR_p0MwuUszleF6auk2pTNZC54fONFC6LLfygH0nwE_49QNEV1VwyojWeCuGNMihDcdht3IMWBV2pnS58RIYsgEaQuSz6vqLJw' \
--data '{
"countryCode": "BR",
"service": [
"Brazil Residential"
],
"clientReference": "Test_0001",
"firstName": "TIAGO",
"middleName": "DE OLIVEIRA",
"lastName": "PINHEIRO",
"dateOfBirth": "11-07-1985",
"addressElement1": "R XINGU",
"addressElement2": "CARAJAS",
"addressElement3": "PATROCINIO",
"addressElement4": "MG",
"addressElement5": "38747382",
"identityVariables": {
"phoneNo": "03438327210",
"cpf": "06394406651"
}
}'{
"countryCode": "Brazil",
"clientReference": "Test_0001",
"reportingReference": "DZ-234220b0-5a10-469f-a909-2fac719aadf1",
"matchStatus": "Full Match 2+2 Verification",
"searchErrorMessage": "",
"safeHarbour": true,
"searchStatus": "Successful",
"serviceResponses": {
"Brazil Residential": {
"status": 1,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": true,
"safeHarbourScore": "L1",
"nameMatchScore": "0.662",
"addressMatchScore": "1.000",
"verifications": {
"addressElement1": true,
"addressElement2": true,
"addressElement3": true,
"addressElement4": true,
"addressElement5": true,
"cpf": true,
"dateOfBirth": true,
"firstName": true,
"lastName": false,
"middleName": false,
"phoneNo": true
},
"returnedData": {
"category": "consumer",
"source": "dz1"
}
},
"Brazil Tax Registration": {
"status": 0,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": true,
"safeHarbourScore": "L2",
"nameMatchScore": "1.000",
"addressMatchScore": "N/A",
"verifications": {
"cpf": true,
"dateOfBirth": true,
"fullName": true
},
"returnedData": {
"category": "government",
"source": "dz2"
}
}
},
"remarks": []
}{
"message": "Ain't no cake like that."
}Mandatory Input for Name
Either of the following must be provided:
- ( firstName + lastName ) Mandatory when fullName is not provided
- fullName is Mandatory when ( firstName + lastName ) are not provided
Note: If Brazil National ID service is included in the sequence, use ( firstName + lastName )
Service Responses Overview
Each service returns its own self-contained response block, ensuring modular and source-specific verification results. Consumers of this API should handle varying response structures dynamically based on the requested services.
Service Responses Element
The serviceResponses object in the API response contains verification results from one or more data sources, structured under their respective service names. Each service returns a distinct response block with service-specific data.
Structure and Behavior:
- Each key within serviceResponses corresponds to a service name, representing an individual verification source.
- Services may return data from a single source or multiple sources in a sequenced API call.
- The structure of each service response varies, with fields such as status, identityVerified, and safeHarbourScore differing between services.
- The verifications block contains service-specific boolean indicators for individual verification checks (e.g., addressElement1, dateOfBirth, firstName).
- The returnedData block provides metadata, including category and source, indicating the data provider used for verification.