Introducing OpenTelemetry for Chargebee SDKs — trace every API call in any telemetry tool.
Chargebeechargebee API

Archive a credit unit

Idempotency Supported

Archives an active credit unit. Once archived, the credit unit can no longer be used to create grant configurations for items and grant configuration overrides for subscriptions. Any grants that were already configured for this credit unit will continue to be effective.

Sample Request

archive a credit unit

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/credit_units/{credit-unit-id}/archive_command

Returns

Credit unit object
Resource object representing credit_unit