Skip to main content
GET
List Operations by Account

Headers

Content-Type
string

The type of media of the resource. Recommended value is application/json.

X-Request-Id
string<uuid>

A unique identifier used to trace and track each request.

Authorization
string

Bearer JWT token for authentication. Required when PLUGIN_AUTH_ENABLED=true (enforced in multi-tenant deployments). Optional in default OSS single-tenant mode. Format: Bearer <token>

Path Parameters

organization_id
string<uuid>
required

The unique identifier of the Organization associated with the Ledger.

ledger_id
string<uuid>
required

The unique identifier of the associated Ledger.

account_id
string<uuid>
required

The unique identifier of the account.

Query Parameters

limit
integer
default:10

The maximum number of items to include in the response.

Required range: 1 <= x <= 100
start_date
string

The beginning of the period you want to retrieve. start_date and end_date are all-or-nothing: supplying only one returns 400. If both are omitted, a default window of the last 1 month is used.

end_date
string

The end of the period you want to retrieve. start_date and end_date are all-or-nothing: supplying only one returns 400. If both are omitted, a default window of the last 1 month is used.

sort_order
enum<string>
default:asc

The order used to sort the results.

Available options:
asc,
desc
cursor
string

An encoded cursor token from a previous response (next_cursor or prev_cursor) to navigate forward or backward through results.

type
enum<string>

The type of operation.

Available options:
CREDIT,
DEBIT,
ON_HOLD,
RELEASE,
OVERDRAFT,
BLOCK,
UNBLOCK
direction
enum<string>

Filter operations by direction in double-entry accounting.

Available options:
debit,
credit
route_id
string<uuid>

Filter operations by the operation route ID.

route_code
string

Filter operations by the operation route code.

Response

Indicates that the request was successful and the response contains the expected data.

items
object[]
next_cursor
string

Encoded cursor pointing to the next page of results.

prev_cursor
string

Encoded cursor pointing to the previous page of results.

limit
integer

The maximum number of items included in the response.