API Reference
Pix Direct

List payments

GET/direct
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Pix Direct payments.

Authorization

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

Query parameters

idstring

Transaction id.

externalIdstring

Your identifier.

endToEndIdstring

End-to-end id of the Pix.

statusstring

Status (case insensitive).

Example: "PAID"
tagstring

Only transactions with this tag.

dateFromstring<date>

From this date (yyyy-MM-dd, Brasília time).

dateTostring<date>

Up to this date (yyyy-MM-dd, Brasília time).

todaysTransactionboolean

Only transactions created today.

pageinteger

Page number, starting at 0.

sizeinteger

Page size (default 20, max 50).

Responses

200Page of payments.
contentobject[]

Items of the page.

Show child attributes
transactionIdstring

Transaction id.

Example: "5b88109a-d95d-46d5-8b17-52f77afffdba"
typestring

Always deposit.

deposit
flowTypestring

Product.

Example: "direct"
createdDatestring<date-time>

Creation time.

Example: "2026-10-21T19:09:06.127Z"
updatedDatestring<date-time>

Last change.

Example: "2026-10-21T19:09:06.127Z"
amountinteger

Amount in cents.

Example: 2500
originalAmountinteger

Original amount in cents.

Example: 2500
statusstring

Status in upper case.

Example: "PAID"
externalIdstring

Your identifier.

tagsstring[]

Free tags returned in responses and notifications (up to 5).

pixKeystring | null

Pix key (wallet key in Pix by Key).

namestring | null

Payer name.

errorMessagestring | null

Message of the error, when the payment failed.

directParticipantIdstring

Institution.

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"