Introducing the Chargebee CLI

Retrieve a credit rate override

Retrieves the latest version of a subscription's credit rate override for a metered feature.

Prerequisites & Constraints

  • The subscription must have an override for the metered feature.

Implementation Notes

  • This operation returns only overrides. It fails when the subscription has no override and uses the feature-level credit rate. To see the rate that applies to a subscription either way, use List credit rates for a subscription with metered_feature_id[is].

Sample Request

retrieve a subscription credit rate override

Sample Result[JSON]

URL Format

GET https://[site].chargebee.com/api/v2/metered_features/{metered-feature-id}/credit_rate_override

Input Parameters

subscription_id
required, string, max chars=50

The identifier of the subscription whose override is retrieved.

Returns

Credit rate override object

The latest version of the override.