List ledger entries
curl -X GET "https://api.52-28-238-205.sslip.io/v1/ledger/entries" \ -H "Cookie: <console session cookie>"Lists ledger entries with their account and transaction, newest first, 50 per page, with the total match count. Requires ledger:read.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Query
account_idstringOnly entries on this ledger account id.
intent_idstringOnly entries for this payment intent (pi_...).
cursorstringnext_cursor from the previous page.
namespacestringLedger namespace: main (default) or simulated.
qstringSearch (substring): entry or transaction id, account code or name, transaction description or reference, intent id.
owner, admin, finance, merchant_owner, operator. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
account_id?|Only entries on this ledger account id.
intent_id?|Only entries for this payment intent (pi_...).
cursor?|next_cursor from the previous page.
namespace?NamespaceLedger namespace: main (default) or simulated.
"main"q?|Search (substring): entry or transaction id, account code or name, transaction description or reference, intent id.
Success.
application/json- response
data*array<>next_cursor?|Cursor for the next page, or null on the last page.
total*Total[key: string]?anyGETList ledger accounts
Lists the caller's ledger accounts with debits, credits and balance, per asset. Amounts are integer strings. Requires ledger:read.
GETGet trial balance
Returns total debits, total credits and their difference (0 when balanced) for the whole namespace, with a breakdown per asset. Requires ledger:read.