API Reference
Pay and Play 2.0

List blocked users

GET/pay-and-play-v2/blocked-users
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Blocked CPFs.

Authorization

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

Query parameters

pageinteger

Page number, starting at 0.

sizeinteger

Page size (default 20, max 100).

Responses

200Page of users.
contentobject[]

Items of the page.

Show child attributes
taxIdstring

CPF.

Example: "123.456.789-09"
reasonstring

Reason.

Example: "cpfWithBetRestrictions"
expiresAtstring | null

End of the block (yyyy-MM-dd).

Example: "2026-11-20"
pageinteger

Page number, starting at 0.

Example: 0
sizeinteger

Page size.

Example: 20
totalElementsinteger

Total of items.

Example: 1
totalPagesinteger

Total of pages.

Example: 1
lastboolean

Whether this is the last page.

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