Easy Labs
APITreasuryTreasury

Export transactions as CSV

Download a CSV file of transactions matching the provided filters. Capped at 10,000 rows.

GET
/v1/api/treasury/transactions/export
x-easy-api-key<token>

Merchant API key. Publishable keys (pk_test_* / pk_live_) are safe for browser/frontend use and carry a limited scope set (sessions, payment_instruments, customers, orders writes; products, product_prices, payment_links reads). Secret keys (sk_test_ / sk_live_*) grant full admin access and must only be used server-side.

In: header

Query Parameters

type?string
Value in"send" | "transfer" | "deposit" | "withdraw"
status?string
Value in"pending" | "initiated" | "processing" | "completed" | "failed" | "cancelled"
date_from?string
Formatdate-time
date_to?string
Formatdate-time
amount_min?integer
Range0 <= value
amount_max?integer
Range0 <= value
keyword?string
Length1 <= length <= 200
sort_by?string
Default"date"
Value in"date" | "amount"
sort_order?string
Default"desc"
Value in"asc" | "desc"

Response Body

application/json

application/json

curl -X GET "https://loading/v1/api/treasury/transactions/export"
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}