Skip to navigation

List transactions

View as Markdown

Returns a cursor-paginated list of the workspace’s transactions, newest first (by created_at). All filters are optional and combine with AND.

Authentication

AuthorizationBearer

JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.

OR
AuthorizationBearer

Lucanto API key. Two prefixes:

  • lct_pat_<random><checksum> — personal access token (owner: User)
  • lct_live_<random><checksum> — workspace token, live data

Issue keys at /settings/api_keys (personal) or /:workspace_id/settings/api_keys (workspace). Plaintext token is shown once and never again.

Path parameters

workspace_idlongRequired>=1
Workspace ID. The numeric ID shown in your URLs.

Query parameters

cursorstringOptional

Pagination cursor from the previous response’s next_cursor.

limitintegerOptional1-100Defaults to 25
Number of items per page. Default 25, maximum 100.
sortenumOptional

Sort field for transaction lists. Currently only created_at is supported; the date fields (booking_date, value_date, paid_on) are nullable and will be added once a null-ordering is defined. Combine with order.

Allowed values:
orderenumOptionalDefaults to desc

Sort direction for sort. Defaults to desc.

Allowed values:
bank_account_idlongOptional>=1

Restrict to a single bank account / cash register.

date_fromdateOptional

Inclusive lower bound (ISO-8601 date, YYYY-MM-DD) on the transaction date — COALESCE(booking_date, value_date, paid_on).

date_todateOptional

Inclusive upper bound (ISO-8601 date, YYYY-MM-DD) on the transaction date — same COALESCE as date_from.

matching_statusenumOptional

Filter by matching/classification status. Unknown values are ignored (return the unfiltered set).

kindenumOptional

credit (money in, amount > 0) or debit (money out, amount < 0).

Allowed values:
qstringOptional

Case-insensitive, accent-insensitive fulltext search across counterparty names/IBANs, variable symbol, payment reference and trading-party identification.

Response

OK
next_cursorstring or null

Cursor to fetch the next page. Pass it as the cursor query parameter on the next request. null on the last page.

has_moreboolean
True when more pages exist after this one.
datalist of objects

Errors

401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error