v62

latestOpenAPI 3.1.0Dual (AGPL3.0, Commercial License Available)raw.githubusercontent.com2026-08-03211303932.5 KB
billing
internal

Read live terms for the configured save-offer coupon

Returns the coupon's percent_off and duration_in_months so the cancel modal's Discount panel can render the offer dynamically. The payload is null when STRIPE_SAVE_OFFER_COUPON_ID is unset — the modal hides the panel in that case.

get/api/billing/save-offer-coupon

Response

Save-offer coupon terms, or null when not configured

errorstring nullable

Human-readable failure message. Omitted on success.

successboolean required

true when the request succeeded. false responses carry error instead of data.

Example response

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