kpi
api_insight_checkout_transactions_events_kpis_get
Get a list of KPIs where the result is the aggregation of the specified event type given provided interval
Scopes:
- read:insight
- admin:insight
get/accounts/{aid}/insight/kpi/checkout-transaction-events
Path parameters
aidstring ^[PT]{1}\d{8}$ required
An id that uniquely identifies the account.
Query parameters
interval'day' required
The interval over which the data will be aggregated.
event'AUTHORIZE' | 'CAPTURE' | 'REFUND' | 'VOID' required
Only transactions with this event type will be included in the aggregation
created_at_gtestring required
Filter by event created_at, not when the transaction was created
Response
Checkout Transaction events KPIs
Example response
[
{
"values": [
{
"payment_product_type": "dintero_psp.creditcard",
"currency": "NOK",
"count": 40,
"avg_amount": 19995,
"sum_amount": 799810
}
]
}
]