Sequenced Searching
3 min
Sequenced searching in Chile can be configured for clients upon request.
When making sequenced calls for Chile, the API input for the serviceMUST be set to "Chile Residential".
Example - API Requests and Responses with following services configured:
Chile National ID Chile Residential
Chile Sequenced Search
* Verification Outcome – KYC verification from sequenced searching and returns single or duel (where possible) source matches
* Consumer Consent – N/A
* Mandatory Input – Name, DOB, Address and National ID
* Verifies – Name, DOB, Address and National ID number
* Returned Data - type of data source and service identifier.
POST
https://idu-test.datazoo.com/api/v2/verify
Header Parameters
- AuthorizationstringrequiredDescription
Body Parameters
- dataobjectrequiredDescription
- countryCodestringrequiredDescription
- servicearrayrequiredDescription
- clientReferencestringDescription
- firstNamestringrequiredDescription
- middleNamestringDescription
- lastNamestringrequiredDescription
- dateOfBirthstringrequiredDescription
- addressElement1stringrequiredDescription
- addressElement3stringrequiredDescription
- identityVariablesobjectrequiredDescription
- nationalIDNostringrequiredDescription
Response
- countryCodestringDescription
- clientReferencestringDescription
- reportingReferencestringDescription
- validationErrorsstringDescription
- matchStatusstringDescription
- searchErrorMessagestringDescription
- safeHarbourbooleanDescription
- searchStatusstringDescription
- serviceResponsesobjectDescription
- statusintegerDescription
- sourceStatusstringDescription
- errorMessagestringDescription
- identityVerifiedbooleanDescription
- safeHarbourScorestringDescription
- nameMatchScorestringDescription
- addressMatchScorestringDescription
- verificationsobjectDescription
- addressElement1boolean
- addressElement3boolean
- dateOfBirthboolean
- firstNameboolean
- lastNameboolean
- middleNameboolean
- nationalIDNoboolean
- returnedDataobjectDescription
- categorystringDescription
- sourcestringDescription
- remarksarrayDescription
curl
curl --location 'https://idu-staging.datazoo.com/api/v2/verify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImMtbVZlMl9KRFhMcnkzaEhQWEN4TyJ9.eyJ1aWQiOiIzMDMiLCJvaWQiOiI2MiIsImlzcyI6Imh0dHBzOi8vZGF0YXpvby10ZXN0LnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHwzMDMiLCJhdWQiOiJodHRwczovL2t5Yy10ZXN0LmRhdGF6b28uY29tIiwiaWF0IjoxNzQ2MTM3MTkwLCJleHAiOjE3NDYxNzMxOTAsImd0eSI6InBhc3N3b3JkIiwiYXpwIjoiSWxVdURJNTF1QXpuVnE2VGVoRXAyOXBrbEhBSjFtYnkifQ.JffFIeRcFN8q8GKTZbliU55Xz85DCRXj1AzzevQJ6_YbzEYiZc097H2bBLoWDV_UAozkxPlTzCHRU3afOZsM71vA3qu_wPzHnGVl1oSND8z-eqVarVHiYitwtW_IJcFtCXc_06YDt6WX0aHMf6Ge7zP0fT_z6pe2ajRQyfm8Ep4xGawv4Kza5-sIdS9avxD3okKxTtpUZXEcyDMnLoF199QKN7bTLGv9za7B2JT8bWhq3BIc-_bTZP7EoGL-oOQna_cLM3axZ4LKlvOl8aGVLXaEcUodX9klL4l3HQQAmhY73wtyUAq-IsXaqdlhEqEkZnKbvC5CVUNWFEtU2Nxh5Q' \
--data '{
"countryCode": "CL",
"service": [
"Chile Residential"
],
"clientReference": "Test_0001",
"firstName": "PEDRO",
"middleName": "ANTONIO",
"lastName": "FARIAS ABARCA",
"dateOfBirth": "1982-03-06",
"addressElement1": "CLADDRESS 1",
"addressElement3": "CLCITY",
"identityVariables": {
"nationalIDNo": "154201726"
}
}'200
{
"countryCode": "Chile",
"clientReference": "Test_0001",
"reportingReference": "DZ-7990059a-15f6-4269-b7b4-98653e84bcb9",
"matchStatus": "Full Match 1+1 Verification",
"searchErrorMessage": "",
"safeHarbour": false,
"searchStatus": "Successful",
"serviceResponses": {
"Chile 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": {
"category": "government",
"source": "dz2"
}
}
},
"remarks": []
}404
{
"message": "Ain't no cake like that."
}
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.
Change History
Added
Last updated - 2 May, 2025