billing

GET /v1/subscriptions/{subscriptionId}/plan/cheaper

List the cheaper plans offered in place of cancelling.

All billing endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the billing.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/subscriptions/{subscriptionId}/plan/cheaper \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

The cancel flow's one alternative (owner answer A222): before renewal is switched off, the customer is offered a cheaper plan in the SAME product line, never a discount and never a pause. Drawn from getSubscriptionPlanChoices, keeping only options that are eligible, in the same currency and billing interval, priced below the current plan and on the subscription's own product line; closest in price first. Every money figure is an integer in minor units computed by the engine: saving_minor is the per-period difference from the current plan, and total_minor is what the change would charge now, to be sent back as expected_total_minor to changeSubscriptionPlan. An empty offers means the cancel flow goes straight to its confirmation. 404 for another tenant's subscription as for a missing one. Requires billing.view.

Parameters

NameTypeRequiredWhat it is
subscriptionId (path)UuidYesThe subscription the customer is about to cancel.

Response

NameTypeRequiredWhat it is
current_plan_namestringYes—
current_price_minorintegerYesThe current plan's price per period
currencystringYesISO 4217 code.
intervalstringYes—
offersSubscriptionCheaperPlanOffer[]YesCheaper plans in the same product line, closest in price first. Empty when none fits.

Errors this endpoint can return

401 · 403 · 404 · 429 · 503