Guides
Lookups and pagination
How to look up an operation's status and page and filter each product's lists.
Status of an operation
Classic deposits and withdrawals are looked up with Get transaction status, using Okto's id or your externalId plus the type:
curl --request POST \
--url https://okto.mimicr.dev/transactions/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "externalId": "pedido-1001", "type": "deposit" }'{
"created": "2026-10-21T19:08:59.710000+00:00",
"errorList": [],
"externalId": "pedido-1001",
"flowType": "classic",
"id": "1268321722477579",
"status": "paid",
"tags": ["Operator-3005376515"],
"transactionInfo": {
"name": "Ana Ribeiro",
"taxId": "604.184.437-34",
"bankInfo": { "name": "BANCO INTER S.A.", "spiCode": "00416968", "strCode": "077", "displayName": "INTER" },
"branchCode": "1",
"endToEndId": "E00416968202610211909LPudyxudL08",
"accountType": "checking",
"accountNumber": "6041844371"
},
"type": "deposit"
}transactionInfo (payer or receiver, bank and endToEndId) only shows up with status paid, success or reversed. The newer products have their own status route with the same shape, for example Pix Direct's Get payment status.
General list
List transactions returns a plain array, newest first, with deposits and withdrawals of every flow:
curl --url 'https://okto.mimicr.dev/transactions?type=deposit&status=paid&page=0&pageSize=50' \ --header 'Authorization: Bearer <token>'
| Parameter | Default | Note |
|---|---|---|
page | 0 | Zero-based |
pageSize | 50 | Maximum 500 |
In lists, status is uppercase (PAID, CREATED), unlike the status routes.
Product lists
The lists of the newer products use Spring's page:
{
"content": [
{ "transactionId": "5b88109a-d95d-46d5-8b17-52f77afffdba", "flowType": "direct", "amount": 5000, "status": "PAID" }
],
"page": 0,
"size": 20,
"totalElements": 1,
"totalPages": 1,
"last": true
}| Route | Maximum size |
|---|---|
List payments (GET /direct), List deposits (GET /by-key), List deposits (GET /pay-and-play-v2) | 50 |
| List payments, List journey payments | 500 |
| List recurrence transactions, List blocked users | 100 |
page is zero-based and size defaults to 20.
Filters
Every transaction list accepts the same filters, which can be combined:
| Filter | Example | Note |
|---|---|---|
id | id=1268321722477579 | Okto's id |
externalId | externalId=pedido-1001 | |
type | type=withdraw | deposit or withdraw |
status | status=paid | Case-insensitive |
tag | tag=Operator-3005376515 | One of the tags |
pixKey | pixKey=<key> | |
endToEndId | endToEndId=E0041696... | |
journeyId | journeyId=<id> | Not accepted by GET /transactions |
dateFrom, dateTo | dateFrom=2026-10-01&dateTo=2026-10-31 | yyyy-MM-dd, Brasília date of creation |
todaysTransaction | todaysTransaction=true | Only those created today |