List bank accounts and cash registers
Returns a cursor-paginated list of all payment accounts
(both bank and cash types) for the workspace.
Live accounts by default; pass archived=true for the archived
ones instead. Soft-deleted accounts are excluded either way.
Ordered by id descending.
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_id
Workspace ID. The numeric ID shown in your URLs.
Query parameters
cursor
Pagination cursor from the previous response’s next_cursor.
limit
Number of items per page. Default 25, maximum 100.
archived
When true, lists archived accounts instead of live ones.
Response
OK
next_cursor
Cursor to fetch the next page. Pass it as the cursor query
parameter on the next request. null on the last page.
has_more
True when more pages exist after this one.
data
Errors
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
429
Too Many Requests Error
