api_insight_checkout_kpis_get
Get a list of kpis where the transactiosn used is in the aggregations are transactions from "event_created_at_gte",
until now. However, transactions from the "current" interval are not included.
E.g if week is provided as interval, then no transactions from the current week are included. This is true for
day and month intervals aswell.
Scopes:
- read:insight
- admin:insight deprecated 2025-05-20
Path parameters
An id that uniquely identifies the account.
Query parameters
The interval over which the data will be aggregated.
The field (db column) used as source for the kpi, eg, total_amount, vat etc.
Only transactions with this status will be included in the aggregation
The functions applied to the data for every interval.
- The functions should be provided as a stringified array
- At least one function must be provided, currency must be combined with another function
Available functions:
- sum
- avg
- count
- currency
Transaction events with created_at date at or later than this date will be included in the aggregations.
If this date parameter is not included, all transactions regardless of creation date are included.
NB! This is not the transactions created_at date, this is the date the event was created (e.g AUTHORIZE, CAPTURE etc..)
Response
Checkout KPIs
Example response
[
{
"values": [
{
"currency": "NOK"
}
]
}
]