A subscription credit rate shows the credit rate a subscription uses for a metered feature: its credit rate override if it has one, otherwise the feature-level credit rate.
Which rate this is
Each entry is the rate the subscription uses for one metered feature. is_overridden says where it comes from:
true: the subscription's credit rate override. Every field, includingid,version, andeffective_from, describes the override.false: the feature-level credit rate that applies to the subscription.
To see the feature-level rate behind an override, use Retrieve a credit rate.
See Credit rates for how credit rates are versioned and how the applicable rate is determined.
Sample Subscription credit rateJSON
Subscription credit rates attributes
Identifier of the rate that applies to the subscription: the subscription's credit rate override when is_overridden is true, otherwise the feature-level credit rate. It stays the same across that rate's versions.
The identifier of the metered feature this credit rate belongs to.
The identifier of the credit unit that usage is converted into.
Determines how the subscription's usage of this metered feature is converted into credits. See Conversion models.
Every unit of usage costs credit_cost credits. package_size is always 1.
Usage is charged in packages of package_size units, and each package costs credit_cost credits. Packages are counted on the total usage in the billing term, and a partly used package is charged as a full package.
The identifier of the subscription this credit rate applies to.