Ledger and reports
GET/v1/exports/{id}
Get export
curl -X GET "https://api.52-28-238-205.sslip.io/v1/exports/{id}" \ -H "Cookie: <console session cookie>"Returns one export with its status, filters, format and row count. Requires export:read or export:create.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/exports/{id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...agentKeyAuthorization: Bearer agk_test_...
Path
idstringrequiredExport id (exp_...).
cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdExport id (exp_...).
Success.
application/json- response
export*[key: string]?anyPOSTCreate export
Starts a background export of payments or ledger entries as CSV or PDF, with optional filters and grouping; poll it until ready. Requires export:create. The file can be downloaded for 24 hours.
GETDownload export
Returns the export file (text/csv or application/pdf) as an attachment. Requires export:read or export:create; only a ready export can be downloaded, within 24 hours of creation.