Skip to Content
CheckoutAPI ReferenceReportsExport subscription charges as CSV

Export subscription charges as CSV

GET/reports/subscription-charges/export

Export subscription charges — succeeded and failed — as a CSV file for reconciliation and dunning analysis.

Headers

HeaderDescriptionRequired
AuthorizationBearer token with your secret API keyyes

Query Parameters

NameTypeRequiredDescription
fromstring
tostringyes
statusenum: succeeded | failed[]

Example Request

Request

const response = await fetch('https://checkout-api.exodus-int.com/reports/subscription-charges/export?from=<from>&to=<to>&status=<status>', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer sk_live_xxxxxxxxxxxxxxxx',
  },
});

Responses

StatusDescription
200A CSV export.
400Validation error
401Missing or invalid authentication
403API key lacks the required scope

Response body

string

Example Response

"charge_id,subscription_id,subscriber,charge_nonce,amount,fee,kind,status,failure_reason,tx_hash,block_number,charged_at\nsubc_6789abcdef012345,0x9f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a,0x742d35Cc6634C0532925a3b844Bc9e7595f8fE21,3,9990000,0,cycle,succeeded,,0x8a9c67b2d1e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9,12346789,2026-05-19T12:02:18.000Z"

Error Response

Error (e.g. 400)

{
  "error": {
    "type": "validation_error",
    "message": "amount must be a positive number",
    "param": "amount"
  }
}

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help