API Reference
KYC

Accept terms and conditions

POST/kyc/terms
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Records that the player accepted the Terms & Conditions of the KYC queries. Required before any query of the CPF.

Authorization

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

Body

application/json
cpfstringrequired

Player CPF.

Example: "45317828791"
statusstringrequired

Only accepted (4443 otherwise).

accepted
Example: "accepted"

Responses

200Recorded.
cpfstring

CPF (digits).

statusstring

Status.

Example: "accepted"
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"