Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.46 KB

File metadata and controls

32 lines (20 loc) · 1.46 KB

UsageMetering

Billed spend by product family over a window, from Metronome's invoice breakdown (the CHARGE view). Returned by GET /v1/usage.

Properties

Name Type Description Notes
supported Boolean False for legacy Stripe accounts (no Metronome invoice to split); `days` and `totals` are then empty/zero. [optional]
granularity GranularityEnum [optional]
days List<UsageMeteringDaysInner> One row per bucket. Empty when `granularity=total`. `date` is a UTC date (month buckets use the 1st). [optional]
totals UsageMeteringTotals [optional]
lineItems List<UsageMeteringLineItemsInner> Per-invoice-line-item rows (largest spend first) for a detailed breakdown. [optional]
peaks UsageMeteringPeaks [optional]
callUsage UsageMeteringCallUsage [optional]
period UsageMeteringPeriod [optional]
tax UsageMeteringTax [optional]

Enum: GranularityEnum

Name Value
DAY "day"
MONTH "month"
TOTAL "total"