Transaction detail


The /reports/transactions-detail endpoint returns individual transaction records for a given period and type. Use this to drill down into specific transaction categories from the transactions overview.

GET /reports/transactions-detail

Query parameters

ParameterTypeDescription
selected-datestringPeriod start date to show transactions for. *Not required when using customer parameter.
selected-typestringTransaction type: month_sub, year_sub, week_sub, day_sub, one_time, metered, discount, refund, fee. *Not required when using customer parameter.
customerstringFilter by customer ID. When set, shows transactions grouped by transaction.
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-15",
"customer_id": "cus_123",
"customer_name": "Acme Corp",
"customer_email": "[email protected]",
"type": "month_sub",
"status": "paid",
"transaction_id": "txn_abc123",
"currency": "usd",
"description": "Pro Plan - Jan 2025",
"amount": 9900,
"amount_base_currency": 9900
}
]
}
}

Response fields

FieldTypeDescription
datestringTransaction date
customer_idstringCustomer external ID
customer_namestringCustomer name
customer_emailstringCustomer email
typestringTransaction type
statusstringPayment status
transaction_idstringTransaction reference ID
currencystringOriginal transaction currency
descriptionstringTransaction description
amountnumberAmount in original currency (cents)
amount_base_currencynumberAmount in base currency (cents)

When using the customer parameter, each transaction may include a lines array with invoice line-level detail.