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

Cancel a gift

Idempotency Supported

This API allows to cancel gifts. Only gift in 'scheduled' and 'unclaimed' states can be cancelled.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/gifts/{gift-id}/cancel

Returns

Gift object
Resource object representing gift
Subscription object
Resource object representing subscription