Payments
Individual payments in a period, newest first, each with its amount, kind (one_time, subscription_new, subscription_renewal or refund; refunds have a negative amount), provider, product and first-touch attribution: the source, channel, campaign and landing page that brought the customer, days from first visit to payment and the number of sessions before paying. Use it to inspect specific sales; use get_revenue_summary for totals. Takes range (a preset) or from and to, optional compare and filters. Money is integer minor units (cents) in currency; rates are 0..1; durations are seconds; timestamps are ISO-8601 UTC.
Authorizations
Path Parameters
Query Parameters
Preset period: today (today), yesterday (yesterday), 24h (last 24 hours), 7d (last 7 days), 30d (last 30 days), 90d (last 90 days), mtd (month to date), last_month (last month), ytd (year to date), 12m (last 12 months), all (all time). Defaults to 30d. Use either this or from and to.
today, yesterday, 24h, 7d, 30d, 90d, mtd, last_month, ytd, 12m, all Narrow the data. Repeat the parameter to add filters; all must match. Format: dimension:op:value, for example country:is:DE. Dimensions: page, entry_page, exit_page, hostname, channel, source, referrer, utm_source, utm_medium, utm_campaign, utm_term, utm_content, country, region, city, browser, os, device, language, event, ai_assistant. Operators: is, is_not, contains.