Skip to main content
Skip to Content
Cresora Commerce
Portal Guides

Transaction Exports

Stream your filtered transactions as CSV for accounting import.

Export transaction-level data for a period as CSV — from the Partner Portal, or directly from the API. The export is synchronous: the response is the file. There is no export job, no status to poll, no email, and no export.ready event.

Via the API

GET /api/v1/transactions/export streams an RFC 4180 CSV of the caller's filtered transactions:

curl
curl "https://api.cresoracommerce.ai/api/v1/transactions/export?from=2026-05-01T00:00:00Z&to=2026-06-01T00:00:00Z" \
  -H "Authorization: Bearer csk_ab12cd34_xxxxxxxxxxxxxxxxxxxxxxxx" \
  -o transactions-may.csv

All filters are query parameters, shared with the list and summary operations:

ParameterNotes
merchant_iduuid
from / toRFC 3339 instants (date-time, not bare dates)
statea TransactionState value, e.g. SETTLED
typea TransactionType value
railACH or CARD
amount_min / amount_maxdecimal strings
qsubstring on the gateway transaction id, or an exact transaction or merchant UUID. Unlike the list, a 4-digit value does not match an ACH routing or account last-4

Two response headers tell you what you got:

HeaderMeaning
x-cresora-transaction-row-countrows in the file
x-cresora-transaction-truncatedtrue when the server-side row cap cut the export
⚠The cap is on rows, not on the date range

There is no maximum date range. A large window is served until the row cap, then truncated: x-cresora-transaction-truncated is true, and the file's last line begins # truncated at. Split the range and request each part. Both from and to are inclusive, so use each part's to as the next part's from, then remove duplicate transaction_id rows when you combine the files. Check every part for truncation too: a cut file keeps the newest rows and drops the oldest, so split any part that is still cut.

ℹNote

The export has no fee or net columns. Its columns are transaction_id, created_at, merchant_id, merchant_name, type, rail, state, amount, currency, approval_code and decline_reason. Batch totals are on the settlement batch. For KPI-style aggregates use GET /api/v1/transactions/summary (same filters; volume in integer minor units).

Via the Portal

Money → Transactions, then Export, applies the toolbar's filters and search and downloads the same CSV. The portal does not show either header, so check the file's last line for the # truncated at marker. Its date filter only offers windows that end now, so the range cannot be split there: narrow by merchant, or by card or ACH, instead, or call the API with an explicit from / to. If you split by amount, remove duplicate transaction_id rows when you combine the files: the portal's amount ranges share their bounds.

Accounting-format note

The export is one CSV shape (RFC 4180, injection-safe per OWASP WSTG-INPV-15). Dedicated QuickBooks / Xero / NetSuite formats are not produced — map the CSV columns in your accounting tool's importer.