---
title: Brazil Residential
slug: api/brazil-residential
icon: {"faIcon":"fa-solid fa-ellipsis-vertical"}
createdAt: 2025-03-30T23:33:46.852Z
---

**Verifies against Data Zoo's Brazil dataset. The CPF is an attribute on the record and is the lookup key when supplied. Without it the search uses name similarity with DOB or postcode.&#x20;**

For Authorization [Get Session Token ](https://app.archbee.com/public/PREVIEW-hnayPWtSAEmBvPEAR1R0A/PREVIEW-xqss5K2lV8fJT_0PV5DBk)from Authentication page.

:::ApiMethodV2
```json
{
  "name": "Brazil Residential",
  "method": "POST",
  "url": "https://idu-test.datazoo.com/api/v2/verify",
  "description": "* Verification Outcome – Returns KYC verification\n* Consumer Consent – N/A\n* Mandatory Input – Name, DOB, Address \n* Verifies – Name, DOB, Address and National ID\n* Returned Data - N/A",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "f2jMy98sIuBrop0Bgc788",
        "language": "curl",
        "code": "curl --location 'https://idu-test.datazoo.com/api/v2/verify' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImMtbVZlMl9KRFhMcnkzaEhQWEN4TyJ9.eyJ1aWQiOiIzMDMiLCJvaWQiOiI2MiIsImlzcyI6Imh0dHBzOi8vZGF0YXpvby10ZXN0LnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHwzMDMiLCJhdWQiOiJodHRwczovL2t5Yy10ZXN0LmRhdGF6b28uY29tIiwiaWF0IjoxNzQ1ODEwNTM5LCJleHAiOjE3NDU4NDY1MzksImd0eSI6InBhc3N3b3JkIiwiYXpwIjoiSWxVdURJNTF1QXpuVnE2VGVoRXAyOXBrbEhBSjFtYnkifQ.oFILdMoZ6Q6NGH-prmif13rfScaxbrpIKLbtogMmJNIXceCoAwdKpUevdcWfg4xZNYb7UbiuulOjNxQqemPt09L48Wsom4XhOQwssBqL6vx8SsjOK4TMjxFWCb9lqQHT82P0gTGt3VPawh4ceXjQa1VCIwur4svReE6i580n_1dMmK_qZDwn8UdTkGsy1T40BkJS_TosmTtLVgVUeMBMeU5naurtsR5-Gho8hwu1EWPgLDqkuUQQN-4lg6nA6uwa2LqTOzlRgxAPUdjwhnY5OX9jmZY-tksYpksxTx10fjnDkWNEgnOkiYJgM70ddIWwf0vSEqwCmoW0gRa2y85F8A' \\\n--data '{\n    \"countryCode\": \"BR\",\n    \"service\": [\n        \"Brazil Residential\"\n    ],\n    \"clientReference\": \"Test_0001\",\n    \"fullName\": \"TIAGO DE OLIVEIRA PINHEIRO\", \n    \"dateOfBirth\": \"11-07-1985\",\n    \"addressElement1\": \"R XINGU\",\n    \"addressElement2\": \"CARAJAS\",\n    \"addressElement3\": \"PATROCINIO\",\n    \"addressElement4\": \"MG\",\n    \"addressElement5\": \"38747382\",\n    \"identityVariables\": {\n        \"phoneNo\": \"03438327210\",\n        \"cpf\": \"06394406651\"\n    }\n}'",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "f2jMy98sIuBrop0Bgc788"
  },
  "results": {
    "languages": [
      {
        "id": "-KLLvb-_jXQIuU-WuWQAF",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"countryCode\": \"Brazil\",\n    \"clientReference\": \"Test_0001\",\n    \"reportingReference\": \"DZ-02ab570a-6129-4c44-a16a-24a597d6eec3\",\n    \"matchStatus\": \"Full Match 1+1 Verification\",\n    \"searchErrorMessage\": \"\",\n    \"safeHarbour\": false,\n    \"searchStatus\": \"Successful\",\n    \"serviceResponses\": {\n        \"Brazil Residential\": {\n            \"status\": 0,\n            \"sourceStatus\": \"Successful\",\n            \"errorMessage\": \"\",\n            \"identityVerified\": true,\n            \"safeHarbourScore\": \"L1\",\n            \"nameMatchScore\": \"1.000\",\n            \"addressMatchScore\": \"1.000\",\n            \"verifications\": {\n                \"addressElement1\": true,\n                \"addressElement2\": true,\n                \"addressElement3\": true,\n                \"addressElement4\": true,\n                \"addressElement5\": true,\n                \"cpf\": true,\n                \"dateOfBirth\": true,\n                \"fullName\": true,\n                \"phoneNo\": true\n            },\n            \"returnedData\": {}\n        }\n    },\n    \"remarks\": []\n}"
      },
      {
        "id": "AS5tJ4glQVhlG7b69Q21J",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"Ain't no cake like that.\"\n}"
      }
    ],
    "selectedLanguageId": "-KLLvb-_jXQIuU-WuWQAF"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "Authorization",
        "kind": "required",
        "type": "string",
        "description": "sessionToken obtained via the Authentication call",
        "": "sessionToken obtained via the Authentication call"
      }
    ],
    "bodyDataParameters": [
      {
        "name": "data",
        "kind": "required",
        "type": "object",
        "description": "request body sent to the API",
        "": "object",
        "children": [
          {
            "name": "countryCode",
            "kind": "required",
            "type": "string",
            "description": "BR"
          },
          {
            "name": "service",
            "kind": "required",
            "type": "array",
            "description": "Brazil Residential"
          },
          {
            "name": "clientReference",
            "kind": "optional",
            "type": "string",
            "description": "a client reference field"
          },
          {
            "name": "fullName",
            "kind": "required",
            "type": "string",
            "description": "the full name of the identity owner\n* See the note below for more details."
          },
          {
            "name": "firstName",
            "kind": "required",
            "type": "string",
            "description": "the first name of the identity owner\n* See the note below for more details."
          },
          {
            "name": "middleName",
            "kind": "optional",
            "type": "string",
            "description": "the middle name(s) of the identity owner\n* See the note below for more details."
          },
          {
            "name": "lastName",
            "kind": "required",
            "type": "string",
            "description": "the last name of the identity owner\n* See the note below for more details."
          },
          {
            "name": "dateOfBirth",
            "kind": "required",
            "type": "string",
            "description": "in YYYY-MM-DD (preferred) or DD-MM-YYYY format"
          },
          {
            "name": "addressElement1",
            "kind": "required",
            "type": "string",
            "description": "the house/unit number and street name of the address",
            "children": []
          },
          {
            "name": "addressElement2",
            "kind": "optional",
            "type": "string",
            "description": "the neighbourhood name of the address",
            "children": []
          },
          {
            "name": "addressElement3",
            "kind": "required",
            "type": "string",
            "description": "the City/Town/Locality of the address",
            "children": []
          },
          {
            "name": "addressElement4",
            "kind": "optional",
            "type": "string",
            "description": "the Province of the address",
            "children": []
          },
          {
            "name": "addressElement5",
            "kind": "required",
            "type": "string",
            "description": "the post code of the address"
          },
          {
            "name": "identityVariables",
            "kind": "optional",
            "type": "object",
            "description": "other elements for verification",
            "children": [
              {
                "name": "phoneNo",
                "kind": "optional",
                "type": "string",
                "description": "phone number of the identity owner"
              },
              {
                "name": "cpf",
                "kind": "optional",
                "type": "string",
                "description": "national ID number (CPF) of the identity owner"
              }
            ]
          }
        ],
        "schema": [
          {
            "name": "countryCode",
            "kind": "required",
            "type": "string",
            "description": "BR"
          },
          {
            "name": "service",
            "kind": "required",
            "type": "array",
            "description": "Brazil Residential"
          },
          {
            "name": "clientReference",
            "kind": "optional",
            "type": "string",
            "description": "a client reference field"
          },
          {
            "name": "fullName",
            "kind": "required",
            "type": "string",
            "description": "the full name of the identity owner\n* See the note below for more details."
          },
          {
            "name": "firstName",
            "kind": "required",
            "type": "string",
            "description": "the first name of the identity owner\n* See the note below for more details."
          },
          {
            "name": "middleName",
            "kind": "optional",
            "type": "string",
            "description": "the middle name(s) of the identity owner\n* See the note below for more details."
          },
          {
            "name": "lastName",
            "kind": "required",
            "type": "string",
            "description": "the last name of the identity owner\n* See the note below for more details."
          },
          {
            "name": "dateOfBirth",
            "kind": "required",
            "type": "string",
            "description": "in YYYY-MM-DD (preferred) or DD-MM-YYYY format"
          },
          {
            "name": "addressElement1",
            "kind": "required",
            "type": "string",
            "description": "the house/unit number and street name of the address",
            "children": []
          },
          {
            "name": "addressElement2",
            "kind": "optional",
            "type": "string",
            "description": "the neighbourhood name of the address",
            "children": []
          },
          {
            "name": "addressElement3",
            "kind": "required",
            "type": "string",
            "description": "the City/Town/Locality of the address",
            "children": []
          },
          {
            "name": "addressElement4",
            "kind": "optional",
            "type": "string",
            "description": "the Province of the address",
            "children": []
          },
          {
            "name": "addressElement5",
            "kind": "required",
            "type": "string",
            "description": "the post code of the address"
          },
          {
            "name": "identityVariables",
            "kind": "optional",
            "type": "object",
            "description": "other elements for verification",
            "children": [
              {
                "name": "phoneNo",
                "kind": "optional",
                "type": "string",
                "description": "phone number of the identity owner"
              },
              {
                "name": "cpf",
                "kind": "optional",
                "type": "string",
                "description": "national ID number (CPF) of the identity owner"
              }
            ]
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "response": [
    {
      "name": "countryCode",
      "kind": "optional",
      "type": "string",
      "description": "Brazil",
      "children": []
    },
    {
      "name": "clientReference",
      "kind": "optional",
      "type": "string",
      "description": "the client reference (if given as input) ",
      "children": []
    },
    {
      "name": "reportingReference",
      "kind": "optional",
      "type": "string",
      "description": "a reference number generated which is unique to each transaction. ",
      "children": []
    },
    {
      "name": "validationErrors",
      "kind": "optional",
      "type": "string",
      "description": "Returened with HTTP status code 400 when there is input validation error",
      "children": []
    },
    {
      "name": "matchStatus",
      "kind": "optional",
      "type": "string",
      "description": "\"Full Match 1+1 Verification\" \n\"No Match\" "
    },
    {
      "name": "searchErrorMessage",
      "kind": "optional",
      "type": "string",
      "description": "error message returned querying the data source",
      "children": []
    },
    {
      "name": "safeHarbour",
      "kind": "optional",
      "type": "boolean",
      "description": "true or false",
      "children": []
    },
    {
      "name": "searchStatus",
      "kind": "optional",
      "type": "string",
      "description": "\"Successful\" \n\"Not Successful\"",
      "children": []
    },
    {
      "name": "serviceResponses",
      "kind": "optional",
      "type": "object",
      "description": "Verification Details with \"Brazil Residential\" returned as the Service Identifier. ",
      "children": [
        {
          "name": "status",
          "kind": "optional",
          "type": "integer",
          "description": "0 - identityVerified TRUE - element verifications all TRUE\n1 - identityVerified TRUE - element verifications not all TRUE\n2 - identityVerified FALSE - sourceStatus SUCCESSFUL\n3 - identityVerified FALSE - sourceStatus NOT SUCCESSFUL"
        },
        {
          "name": "sourceStatus",
          "kind": "optional",
          "type": "string",
          "description": "\"Successful\"\n\"Unsuccessful\""
        },
        {
          "name": "errorMessage",
          "kind": "optional",
          "type": "string",
          "description": "error message(s) from the data source.  Example, \"Error querying data source\"."
        },
        {
          "name": "identityVerified",
          "kind": "optional",
          "type": "boolean",
          "description": "true or false"
        },
        {
          "name": "safeHarbourScore",
          "kind": "optional",
          "type": "string",
          "description": "M1, M2, N1, L1, L2, L3, L4, L5 or \"none\"\n* For more information, refer to Safe Harbour Scores page"
        },
        {
          "name": "nameMatchScore",
          "kind": "optional",
          "type": "string",
          "description": "A string that acts as a value between 0.000 and 1.000."
        },
        {
          "name": "addressMatchScore",
          "kind": "optional",
          "type": "string",
          "description": "A string that acts as a value between 0.000 and 1.000."
        },
        {
          "name": "verifications",
          "kind": "optional",
          "type": "object",
          "description": "element level verification returned as true or false\n[Only applicable elements will be included, and not all elements may be present]",
          "children": [
            {
              "name": "addressElement1",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "addressElement2",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "addressElement3",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "addressElement4",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "addressElement5",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "cpf",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "dateOfBirth",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "firstName",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "fullName",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "lastName",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "middleName",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "phoneNo",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            }
          ]
        },
        {
          "name": "returnedData",
          "kind": "optional",
          "type": "object",
          "description": "Null",
          "children": []
        }
      ]
    },
    {
      "name": "remarks",
      "kind": "optional",
      "type": "array",
      "description": "will return remarks regarding any encountered issues or pre-validation errors.",
      "children": []
    }
  ],
  "autoGeneratedAnchorSlug": "brazil-residential",
  "legacyHash": "PThsQwGcqpd4HJtiVSmxB"
}
```
:::

***

:::hint{type="info"}
**Mandatory Input for Name**

firstName followed by mothers surname followed by fathers surname is the recommended input for name.&#x20;
Either of the following must be provided:&#x20;

- ( `firstName `+ `lastName `) **Mandatory&#x20;**&#x77;hen `fullName `is not provided
- `fullName `is **Mandatory&#x20;**&#x77;hen ( `firstName `+ `lastName `) are not provided
:::

***

::::hint{type="info"}
**Links**

:::CtaButton{label="About Safe Harbour Scores" docId="9Fe9gAz4I566ohH2Thslq" openInNewTab="true"}

:::
::::

***

:::Changelog{title="Change History"}
::ChangelogItem{type="added" description="Last updated - 28 April, 2025"}
:::

