Get spend report
curl -X GET "https://api.52-28-238-205.sslip.io/v1/reports" \ -H "Cookie: <console session cookie>"Returns paid, refunded and net amounts grouped by agent, team, merchant, rail, network, day, week or month, one row per key and asset. Requires ledger:read; merchants cannot group by agent or team.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Query
group_bystringGrouping: agent (default), team, merchant, rail, network, day, week or month.
fromstringStart of the period, ISO 8601 (inclusive).
tostringEnd of the period, ISO 8601.
railstringOnly payments on this rail: x402, wdk or card.
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)
group_by?Group ByGrouping: agent (default), team, merchant, rail, network, day, week or month.
"agent"from?|Start of the period, ISO 8601 (inclusive).
to?|End of the period, ISO 8601.
rail?|Only payments on this rail: x402, wdk or card.
Success.
application/json- response
group_by*Group Byfrom?string|nullto?string|nullrows*array<>[key: string]?anyPOSTEscalate settlement
Flags the settlement for Abazi operations with a note (required, up to 4000 characters); it then appears in the operations reconciliation queue. Requires reconcile.
GETList exports
Lists the organization's exports, newest first, with status (pending, ready, failed, expired). Requires export:read or export:create.