API Reference
Get basic data
/kyc/basic/{cpf}https://okto.mimicr.dev · provider: https://demo-pix.oktopay.euRegistration 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
Player CPF. Its Terms & Conditions must have been accepted (6000).
"45317828791"Responses
200Basic data.
Status of the CPF.
REGULARDECEASEDMINORNOT_FOUNDREGULARIZATION_PENDINGSUSPENDEDCANCELED_CRAFTPerson data.
Show child attributes
Name.
Birth date.
Gender.
Mother's name.
Father's name.
Birth country.
CPF digits.
Country of the document.
Status of the CPF.
Death record.
Source of the death record.
Year of death.
Message.
400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"401Invalid access token (code 2000).
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"