API Reference
KYC

Get basic data

GET/kyc/basic/{cpf}
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Registration data of the CPF at the Federal Revenue, synchronously. status follows Okto's demo test CPFs.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

cpfstringrequired

Player CPF. Its Terms & Conditions must have been accepted (6000).

Example: "45317828791"

Responses

200Basic data.
statusstring

Status of the CPF.

REGULARDECEASEDMINORNOT_FOUNDREGULARIZATION_PENDINGSUSPENDEDCANCELED_CRAFT
personDataobject

Person data.

Show child attributes
namestring | null

Name.

birthDatestring

Birth date.

genderstring

Gender.

motherNamestring

Mother's name.

fatherNamestring

Father's name.

birthCountrystring

Birth country.

taxIdNumberstring

CPF digits.

taxIdCountrystring

Country of the document.

taxIdStatusstring

Status of the CPF.

hasObitIndicationboolean

Death record.

obitIndicationOriginstring | null

Source of the death record.

obitIndicationYearstring | null

Year of death.

messagestring

Message.

400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
401Invalid access token (code 2000).
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"