SettleFlow API
API ReferenceExports

Create an export

POST
/exports

Starts an asynchronous export of your payments. The export is generated in the background; poll GET /v2/exports/{id} until status is completed, then download it. Without filters.from, the export covers the last 30 days.

X-Api-Key<token>

Merchant API key for authentication

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/exports" \  -H "Content-Type: application/json" \  -d '{    "type": "payments",    "format": "csv",    "filters": {      "from": "2026-01-01T00:00:00Z",      "to": "2026-01-31T23:59:59Z"    }  }'
{  "id": "string",  "type": "payments",  "format": "csv",  "status": "pending",  "filename": "string",  "size_bytes": 0,  "row_count": 0,  "created_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z"}