Skip to main content
POST
/
v1
/
unified-transactions
/
export
curl -X POST '/unified-transactions/export' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "format": "pdf",
    "date_from": "2026-03-01",
    "date_to": "2026-03-31",
    "types": ["deposit", "withdrawal", "swap"]
  }'
{
  "success": true,
  "data": {
    "export_id": "exp_01abc123",
    "format": "pdf",
    "status": "processing",
    "filters": {
      "date_from": "2026-03-01",
      "date_to": "2026-03-31",
      "types": ["deposit", "withdrawal", "swap"]
    },
    "created_at": "2026-04-01T12:00:00Z"
  }
}
Authorization
string
required
Bearer token: Bearer YOUR_ACCESS_TOKEN
format
string
required
Export format: pdf or csv.
date_from
string
Start date filter (ISO 8601 date, e.g., 2026-03-01).
date_to
string
End date filter (ISO 8601 date, e.g., 2026-03-31).
types
string[]
Filter by transaction types. If omitted, all types are included.
curl -X POST '/unified-transactions/export' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "format": "pdf",
    "date_from": "2026-03-01",
    "date_to": "2026-03-31",
    "types": ["deposit", "withdrawal", "swap"]
  }'
{
  "success": true,
  "data": {
    "export_id": "exp_01abc123",
    "format": "pdf",
    "status": "processing",
    "filters": {
      "date_from": "2026-03-01",
      "date_to": "2026-03-31",
      "types": ["deposit", "withdrawal", "swap"]
    },
    "created_at": "2026-04-01T12:00:00Z"
  }
}
Export files are available for download for 24 hours after generation. Use the Download Export endpoint to retrieve the file.