v62
latestOpenAPI 3.1.0Dual (AGPL3.0, Commercial License Available)raw.githubusercontent.com2026-08-03211303932.5 KBbilling
internal
Apply the discount save offer
Applies the configured Stripe coupon to the subscription. Returns 400 when STRIPE_SAVE_OFFER_COUPON_ID is unset.
post/api/billing/cancel/apply-discount
Response
Discount applied
Example response
{
"meta": {
"api_version": 1,
"server_version": "0.17.7"
}
}