Usage charge represents the current, unbilled usage for a metered feature in a subscription within its active usage period. Each usage charge reflects usage accumulated from the start of the current usage period up to the time of the request. It includes:
- the metered feature (
feature_id) - the included entitlement for the current period (
included_usage) - the total usage recorded so far (
total_usage) - any chargeable usage beyond the included entitlement, including on-demand usage and amount (
on_demand_usage,metered_item_price_id,amount) - the usage interval (
usage_from,usage_to) used to compute the usage
Sample Usage chargeJSON
API Index URL
Usage charges attributes
Unique identifier of the feature for which usage is tracked.
Usage included in the subscription entitlement for the current usage period.
Identifier of the metered item price used to calculate charges. Returned only when the feature has an associated metered addon.
ISO currency code in which the overage charges are computed. Returned only when amount exists.
Start timestamp of the usage window used to compute the accumulated total_usage for the feature.
End timestamp of the usage window used to compute the accumulated total_usage for the feature.