---
title: "api_insight_checkout_transactions_events_kpis_get"
method: GET
path: "/accounts/{aid}/insight/kpi/checkout-transaction-events"
tags: ["kpi"]
---

# api_insight_checkout_transactions_events_kpis_get

`GET /accounts/{aid}/insight/kpi/checkout-transaction-events`

## Request

- Base URL: `https://api.dintero.com/v1`
- URL: `https://api.dintero.com/v1/accounts/{aid}/insight/kpi/checkout-transaction-events`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/dintero/apis/account-management-api/docs/accounts/:aid/insight/kpi/checkout-transaction-events/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a list of KPIs where the result is the aggregation of the specified
event type given provided interval

Scopes:
  - read:insight
  - admin:insight

## Path parameters

- `aid` string, ^[PT]{1}\d{8}$, required

## Query parameters

- `interval` 'day', required
- `event` 'AUTHORIZE' | 'CAPTURE' | 'REFUND' | 'VOID', required
- `created_at_gte` string, required

## Response `200`

Checkout Transaction events KPIs

- InsightCheckoutTransactionEventsKPIs[]
  - `interval` 'day', required
  - `values` object[], required: Interval where the count is zero is excluded from the result
    - `payment_product_type` string, required
    - `currency` string, required
    - `count` integer, required: Event count given the interval
    - `avg_amount` integer, required: Average event amount given the interval in minor units
    - `sum_amount` integer, required: Sum of event amount given the interval in minor units
    - `date` string, date, required: The date field in the response represents the UTC calendar date derived from each event's created_at timestamp after converting it to UTC As a result, depending on your local time zone, events that appear to span midnight locally may be aggregated under a single UTC date or split across two UTC dates.

## Other responses

- `400`: Bad / Invalid request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Unexpected Error

---

[API](https://skmtc.dev/dintero/apis/account-management-api.md) - [All operations](https://skmtc.dev/dintero/apis/account-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dintero/apis/account-management-api/revisions/9b83a4199008?raw)
