API Reference
KYC

Bet restrictions

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

Asynchronous query of relationships with sports (athletes, referees, staff) that restrict betting. Answers a transactionId; the result is sent to kycUrl and can be read with GET /kyc/{id}.

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

200Query started; the result arrives at kycUrl and in GET /kyc/{id}.
transactionIdstring

Query id.

Example: "58bf127c-4042-4250-8acf-9035d42e1824"
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"