ALSORNDocs

Export Ledger

Export transactions as a CSV file for compliance reporting, accounting, or offline analysis. Supports the same filters as the list endpoint.

GET/transactions/export

Export transactions as a CSV file. Supports the same filters as the list endpoint.

Requires API key authentication

Query Parameters

ParameterTypeRequiredDescription
agent_idstringoptionalFilter by agent ID.
statusstringoptionalFilter by status: completed, reversed, failed.
start_datestringoptionalISO 8601 start date for filtering.
end_datestringoptionalISO 8601 end date for filtering.
The CSV includes all transaction fields. Large exports may take several seconds to generate.

Code Examples

BASH
curl -X GET "https://api.alsorn.com/transactions/export?agent_id=agent_7f3k9x2m&status=completed" \  -H "Authorization: Bearer YOUR_API_KEY" \  -o transactions.csv