Analytics endpoints return pre-aggregated reporting data for your merchant account: summary metrics like gross and net volume, refunds, payment counts, and new customers; bucketed payment volume timeseries; and subscription metrics including MRR, ARR, and subscription status counts. All endpoints are read-only.
Queries take a range (today, last_7_days, last_30_days, last_90_days) and an optional timezone for bucket boundaries. A day range covers that many calendar days ending today, so last_7_days returns 7 daily buckets and today returns 24 hourly ones. The overview and timeseries endpoints can also include previous-period values and change percentages for comparison, and responses flag when multiple currencies are present so you can render per-currency breakdowns correctly.
Pass currency to the overview or timeseries endpoint to scope every amount and count to one currency. The currencies list and has_multiple_currencies still describe the whole window, so you can offer the other currencies as choices.
For per-event data instead of aggregates, use webhooks or list the underlying resources directly.
