Skip to main content
The AnySpend Platform API provides export endpoints for downloading your transaction and customer data in bulk. Exports support CSV and JSON formats with optional filtering.
Both export endpoints require an API key with read permission.

Endpoints

Transaction Export

Export transaction records with optional filters for status, date range, and format.

Parameters

CSV Output

CSV exports include a header row followed by one row per transaction:

JSON Output

JSON exports return an array of transaction objects:

Examples

Customer Export

Export all customer records associated with your organization.

Parameters

CSV Output

JSON Output

Examples

Tips

Schedule regular exports

Set up a cron job or scheduled function to export data daily or weekly for backup and reconciliation.

Use date filters for large datasets

If you have thousands of transactions, use the from and to parameters to export in smaller date ranges to avoid timeouts.

CSV for spreadsheets

CSV exports open directly in Excel, Google Sheets, and other spreadsheet tools for quick analysis.

JSON for programmatic use

JSON exports are ideal for feeding data into analytics pipelines, databases, or custom dashboards.
Exports are subject to rate limiting. Large exports (over 10,000 records) may take several seconds to generate. The request will block until the export is complete — plan accordingly for very large datasets.