billing
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

datastring
errorstring nullable
successboolean required

Example response

{
  "meta": {
    "api_version": 1,
    "server_version": "0.17.7"
  }
}

Changes