Returns revenue summary with invoice and payment breakdowns (outstanding/paid/writtenOff), plus a time-series trend. Revenue is sourced from all issued invoices (v0 + v1) and completed payments.
Documentation Index
Fetch the complete documentation index at: https://docs.paygentic.io/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication
Start of the time range (ISO 8601 format)
End of the time range (ISO 8601 format)
Time bucket granularity for trend data
hour, day, week Filter by merchant ID. At least one of merchantId, subscriptionIds, or customerId must be provided. Unique identifier for an organization
^org_[a-zA-Z0-9]+$Filter by customer ID. At least one of merchantId, subscriptionIds, or customerId must be provided.
Filter by subscription IDs. At least one of merchantId, subscriptionIds, or customerId must be provided.
Filter all results to a single ISO 4217 currency code (e.g. 'USD'). When omitted, results include all currencies.
Group invoice data by dimension. Allowed values: 'plan' (max 5 groups, top 4 + 'other' when exceeding), 'customer' (max 25 groups, top 24 + 'other' when exceeding, sorted by revenue descending), 'currency' (one entry per currency, primary currency first then alphabetical). Note: groupBy values are mutually exclusive — combining them returns a 400 error. When groupBy=currency is active, top-level netRevenue, invoices, and payments fields are omitted; currencyBreakdown is the sole data source.
plan, customer, currency Revenue summary data
Object type identifier
"revenue_summary"Net collected revenue in dollars (paid invoices + completed payments). Omitted when groupBy=currency is active.
Invoice breakdown. Omitted when groupBy=currency is active.
Payment breakdown. Omitted when groupBy=currency is active.
Time-bucketed revenue trend data. Omitted when groupBy=currency is active.
Invoice breakdown by group dimension (only present when groupBy=plan or groupBy=customer is specified)
Per-currency revenue aggregates (only present when groupBy=currency is specified). Primary currency appears first, then alphabetical by ISO code. When present, top-level netRevenue, invoices, payments, and trend fields are omitted.