Ledger and reports
GET/v1/ledger/accounts
List ledger accounts
curl -X GET "https://api.52-28-238-205.sslip.io/v1/ledger/accounts" \ -H "Cookie: <console session cookie>"Lists the caller's ledger accounts with debits, credits and balance, per asset. Amounts are integer strings. Requires ledger:read.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/ledger/accountsBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Query
namespacestringLedger namespace: main (default) or simulated.
Requires permissionledger:read
Held by
owner, admin, finance, merchant_owner, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
namespace?NamespaceLedger namespace: main (default) or simulated.
Default
"main"Success.
application/json- response
data*array<>[key: string]?anyPOSTSimulate guarantee claim
Records a simulated claim against the Guarantee pool, optionally tied to a dispute, and posts it to the simulated ledger. Requires reconcile; not available to merchants; the amount must be between 1 and the pool balance.
GETList ledger entries
Lists ledger entries with their account and transaction, newest first, 50 per page, with the total match count. Requires ledger:read.