Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.Try now
Chargebeechargebee API

Remove coupons

Idempotency Supported

Removes coupons associated with the subscription. If the param coupon_ids is not specified, all the coupons linked to the subscription are be removed.

Sample Request

removes the listed coupons associated with the subscription.

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/subscriptions/{subscription-id}/remove_coupons

Input Parameters

coupon_ids
optional, string, max chars=100

List of coupons to be removed from the subscription. You can provide only coupon_id and not coupon_code .

Returns

Subscription object
Resource object representing subscription
Customer object
Resource object representing customer
Card object
Resource object representing card