A credit rate override sets a different credit rate for one subscription, for example to apply a negotiated rate. It replaces the feature-level credit rate for that subscription only. A subscription can have one override per metered feature, and the override uses the credit unit of the feature-level credit rate.
How overrides work
- An override applies as soon as it is created or updated. Usage that was already converted into credits is not re-priced.
- Each update creates a new version of the override.
- Removing an override returns the subscription to the feature-level credit rate that applies to it.
See Credit rates for how credit rates are versioned and how the applicable rate is determined.
Overrides are managed with Set a credit rate override, Retrieve a credit rate override, and Remove a credit rate override, which are listed under Credit rates.
Credit rate overrides attributes
The identifier of the metered feature this override belongs to.
The identifier of the credit unit inherited from the feature-level credit rate. An override cannot change it.
Determines how usage 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.
A timestamp in milliseconds identifying this version of the override. Versions are immutable, so the value never changes for a version; each update creates a new version with a new resource_version. Use it to detect changes when syncing. It is not a version number; see version for that.
The identifier of the subscription this override applies to.