Refund detail


The /reports/cashflow-refunds-detail endpoint returns individual refund records for a given period.

GET /reports/cashflow-refunds-detail

Query parameters

ParameterTypeDescription
selected-datestringPeriod start date to show refunds for. Required.
baseCurrencystringTarget currency for conversion.
intervalstringAggregation interval. Defaults to month.
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
{
"result": {
"list": [
{
"date": "2025-01-10",
"invoice_ref": "in_refund_001",
"customer_id": "cus_123",
"customer_name": "Acme Corp",
"customer_email": "[email protected]",
"amount": 4900,
"amount_base_currency": 4900,
"currency": "usd",
"payment_method": "card",
"description": "Refund - Pro Plan"
}
]
}
}

Response fields

FieldTypeDescription
datestringRefund date
invoice_refstringInvoice reference ID
customer_idstringCustomer external ID
customer_namestringCustomer name
customer_emailstringCustomer email
amountnumberRefund amount in original currency (cents)
amount_base_currencynumberRefund amount in base currency (cents)
currencystringOriginal payment currency
payment_methodstringPayment method
descriptionstringRefund description