Kpis kpis
Returns the headline payment KPIs for the current company over a reporting period: transaction count, approval rate (%), average gateway latency (ms) and error rate (%). Each value comes with the preceding period’s value and the growth between them. No time series is returned, so interval does not apply. Always scoped to the caller’s company. Optional filters[integration_class][], filters[adapter_class][], filters[status][], filters[currency_code][] and filters[payment_action][] narrow the payments counted, and filters[type] (test or live) separates test from live traffic. A custom period without a valid start_date / end_date pair returns 400. Requires a company admin Bearer token with the reports.view permission.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Reporting period for the time series. Use custom together with start_date and end_date.
last_24_hours, last_7_days, last_30_days, last_month, last_year, custom ISO 8601 start of a custom period. Required when period is custom; must be before end_date.
ISO 8601 end of a custom period. Required when period is custom.