ChargesDateRangeKPI
Sales figures of chargesDateRangeKPI: totals, time buckets and a per-payment-method breakdown.
type ChargesDateRangeKPI {
currency: Currencies!
total: ChargesDateRangeKPITotal!
data: [ChargesDateRangeKPIRow!]!
paymentMethods: [ChargesDateRangeKPIPaymentMethod!]!
}
Fields
ChargesDateRangeKPI.currency ● Currencies! non-null enum
ISO 4217 currency the KPI series is reported in. Echoes the currency argument passed to chargesDateRangeKPI (default EUR).
ChargesDateRangeKPI.total ● ChargesDateRangeKPITotal! non-null object
Aggregated totals across the date range.
ChargesDateRangeKPI.data ● [ChargesDateRangeKPIRow!]! non-null object
One row per bucket as defined by interval.
ChargesDateRangeKPI.paymentMethods ● [ChargesDateRangeKPIPaymentMethod!]! non-null object
Succeeded charges per payment method over the same range, largest amount first, counted in whole hours whatever the interval. Wallet payments (applePay, googlePay, clickToPay) have their own rows and are not counted in card, so the rows add up to total.succeededAmount (except with interval: minute, which counts differently). A method without succeeded charges has no row, except card: when every card payment came through a wallet, its row stays with 0. Empty when the query is restricted to a store or point of sale.
Returned By
chargesDateRangeKPI query