For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sincronização de CPF (Pessoa física)

Este é um serviço exclusivo para consultar pessoas brasileiras. Este recurso consulta informações pessoais básicas usando o CPF fornecido e retorna os dados recebidos na mesma solicitação.

Run synchronous Cpf Data for Individual

post

The cpf sync service returns whether the provided CPF is valid, as well some basic information about the holder.
Permission required: Services query

Parâmetros de consulta
originstringOpcional

If necessary, the source may also return the mother's name. To retrieve this information, the parameter origin=2 must be included in the query URL

Example: https://api.us.prd.combateafraude.com/services?origin=2
Parâmetros de cabeçalho
AuthorizationstringObrigatório

Your access token. See more in the 'Authentication' topic of this section.

Corpo
servicestringObrigatório

The name of the requested service, for Cpf Data Sync (Individual) needs to be "cpf_sync"

Default: cpf_syncExample: cpf_sync
metadataobjectOpcional

All fields passed to the metadata will be returned in the response, this field is useful to bring an internal identifier of the request for example

Respostas
200

Success

application/json
requestIdstringOpcional
messagestringOpcional
post/services
POST /v1/services HTTP/1.1
Host: api.public.caf.io
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 64

{
  "service": "cpf_sync",
  "parameters": {
    "cpf": "text"
  },
  "metadata": {}
}
{
  "requestId": "text",
  "message": "text",
  "data": {
    "service": "cpf_sync",
    "serviceData": {
      "taxIdNumber": "44443333333",
      "name": "Holder name",
      "socialName": "Holder social name",
      "taxIdStatus": "REGULAR",
      "birthDate": "2021-01-11",
      "fallback": false
    },
    "metadata": {}
  }
}

Atualizado