Transactions


The /reports/transactions endpoint returns a timeline of transaction amounts broken down by type (monthly subscriptions, yearly subscriptions, one-time charges, metered usage, discounts, refunds, fees, tax, and net amount).

GET /reports/transactions

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.
fix_fxbooleanUse fixed exchange rates from start date.
regionstringFilter by region or country codes (space-separated).
currencystringFilter by currency codes (space-separated).
planstringFilter by plan group IDs (space-separated).
industrystringFilter by industry (space-separated).
channelstringFilter by channel (space-separated).
sizestringFilter by customer size (space-separated).
data_sourcestringFilter by data source ID (space-separated).

Example response

200 OK
{
"currency": "usd",
"result": [
{
"date": "2025-01-01",
"month_sub": 85000,
"year_sub": 35000,
"week_sub": 0,
"day_sub": 0,
"one_time": 5000,
"metered": 2000,
"discount": -3000,
"refund": -1500,
"fee": -2500,
"fx_loss": -200,
"tax": 8000,
"net_amount": 127800,
"net_amount_change_pct": 4.2
}
]
}

Response fields

FieldTypeDescription
datestringPeriod start date
month_subnumberMonthly subscription revenue (cents)
year_subnumberYearly subscription revenue (cents)
week_subnumberWeekly subscription revenue (cents)
day_subnumberDaily subscription revenue (cents)
one_timenumberOne-time charges (cents)
meterednumberMetered/usage-based revenue (cents)
discountnumberDiscounts applied (cents, negative)
refundnumberRefunds issued (cents, negative)
feenumberFees deducted (cents, negative)
fx_lossnumberForeign exchange loss (cents, negative)
taxnumberTax collected (cents)
net_amountnumberNet transaction amount (cents)
net_amount_change_pctfloatPercentage change vs previous period