Guides
API principles

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:

bash
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" }'
json
{
  "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:

bash
curl --url 'https://okto.mimicr.dev/transactions?type=deposit&status=paid&page=0&pageSize=50' \
  --header 'Authorization: Bearer <token>'
ParameterDefaultNote
page0Zero-based
pageSize50Maximum 500

In lists, status is uppercase (PAID, CREATED), unlike the status routes.

Product lists

The lists of the newer products use Spring's page:

json
{
  "content": [
    { "transactionId": "5b88109a-d95d-46d5-8b17-52f77afffdba", "flowType": "direct", "amount": 5000, "status": "PAID" }
  ],
  "page": 0,
  "size": 20,
  "totalElements": 1,
  "totalPages": 1,
  "last": true
}
RouteMaximum size
List payments (GET /direct), List deposits (GET /by-key), List deposits (GET /pay-and-play-v2)50
List payments, List journey payments500
List recurrence transactions, List blocked users100

page is zero-based and size defaults to 20.

Filters

Every transaction list accepts the same filters, which can be combined:

FilterExampleNote
idid=1268321722477579Okto's id
externalIdexternalId=pedido-1001
typetype=withdrawdeposit or withdraw
statusstatus=paidCase-insensitive
tagtag=Operator-3005376515One of the tags
pixKeypixKey=<key>
endToEndIdendToEndId=E0041696...
journeyIdjourneyId=<id>Not accepted by GET /transactions
dateFrom, dateTodateFrom=2026-10-01&dateTo=2026-10-31yyyy-MM-dd, Brasília date of creation
todaysTransactiontodaysTransaction=trueOnly those created today