Export subscriptions as CSV
GET/reports/subscriptions/exportExport subscriptions as a CSV file for reconciliation and analysis. Filter by date range and status.
Headers
| Header | Description | Required |
|---|---|---|
| Authorization | Bearer token with your secret API key | yes |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| from | string | — | |
| to | string | yes | |
| status | enum: active | cancelling | cancelled[] | — |
Example Request
Request
const response = await fetch('https://checkout-api.exodus-int.com/reports/subscriptions/export?from=<from>&to=<to>&status=<status>', {
method: 'GET',
headers: {
Authorization: 'Bearer sk_live_xxxxxxxxxxxxxxxx',
},
});Responses
| Status | Description |
|---|---|
| 200 | A CSV export. |
| 400 | Validation error |
| 401 | Missing or invalid authentication |
| 403 | API key lacks the required scope |
Response body
string
Example Response
"subscription_id,onchain_id,status,paused,cancel_at_period_end,subscriber,token,price,price_currency,cap_amount,period_duration,last_charged_at,next_charge_at,external_customer_id,created_at\n0x9f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a,0x9f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a,active,false,false,0x742d35Cc6634C0532925a3b844Bc9e7595f8fE21,USDC,9990000,,120000000,2592000,2026-04-19T12:02:18.000Z,2026-05-19T12:02:18.000Z,cus_42,2026-02-19T12:02:18.000Z"Error Response
Error (e.g. 400)
{
"error": {
"type": "validation_error",
"message": "amount must be a positive number",
"param": "amount"
}
}