kepa
Reconciliation/exportSettlement

Export a Settlement

Download a settlement batch as CSV or JSONL.

GET/v1/settlements/{settlementId}/export
Stream the full transaction listing for a settlement batch as CSV (for spreadsheet-based accounting) or JSONL (for pipelines). Unlike the paginated transactions endpoint, this returns every row in a single response — suitable for nightly exports to S3, SFTP, or accounting systems.
PATH PARAMETERS
settlementIdstringrequired

The settlement identifier.

Example: "stl_01JQDAY00042"
QUERY PARAMETERS
formatenumrequired

Output format.

csvjsonl

commerce-api/openapi.yaml · exportSettlement

GETLocal
http://terminal:8443/v1/settlements/{settlementId}/export
Request
curl http://terminal:8443/v1/settlements/stl_01JQDAY00042/export?format=csv \
  -H "X-Api-Key: $ATLAS_API_KEY"
Response
transactionId,type,status,amount,currency,cardScheme,maskedPan,authorizationCode,timestamp
txn_01JQXYZ123456,SALE,APPROVED,2500,NZD,VISA,************1234,A12345,2026-04-08T09:14:22Z
txn_01JQXYZ123457,SALE,APPROVED,1200,NZD,MASTERCARD,************5678,M67890,2026-04-08T09:21:10Z
txn_01JQXYZ123458,REFUND,APPROVED,500,NZD,VISA,************1234,R55544,2026-04-08T11:05:00Z