Refunds


The /reports/cashflow-refunds endpoint returns a timeline of refund metrics.

GET /reports/cashflow-refunds

Query parameters

ParameterTypeDescription
datestringDate range. Format: YYYYMMDD-YYYYMMDD. Defaults to last 365 days.
intervalstringAggregation interval: day, week, month, quarter, year. Defaults to month.
baseCurrencystringTarget currency for conversion. Defaults to account base currency.
regionstringFilter by region or country codes (space-separated).
currencystringFilter by currency codes (space-separated).
planstringFilter by plan group IDs (space-separated).
data_sourcestringFilter by data source ID (space-separated).

Example response

200 OK
{
"currency": "usd",
"result": [
{
"date": "2025-01-01",
"refund_count": 5,
"refund_amount": 12500,
"customers_refunded": 4
}
]
}

Response fields

FieldTypeDescription
datestringPeriod start date
refund_countintegerNumber of refunds issued
refund_amountnumberTotal refund amount (cents)
customers_refundedintegerNumber of customers who received refunds