Subscriptions
Cancel Preview
The deterministic financial consequence of canceling a subscription — effective date, resulting status, deferred revenue forfeited, and future billing avoided — shown before the mutation.
GET
Preview the financial consequence of a cancellation
Returns the deterministic financial forecast of canceling a subscription,
shown before the mutation so an operator never cancels blind. The
cancel mutation itself is unchanged —
this endpoint only reads.
It exposes exactly what the engine computes deterministically:
effective_dateandresulting_status— when the cancel would take effect and the status it leaves the subscription in.deferred_revenue_forfeited/recognized_as_breakage— the still-deferred revenue an immediate cancel forfeits and recognizes as breakage, computed read-only from the same revenue-recognition data the mutation uses.avoided_future_recurring— the future recurring amount that will no longer bill.flat_fee_refund— always0: the flat fee is paid in advance and is not refunded.
Query Parameters
Example Request
Response
Fields
Read-only and side-effect free — nothing is posted, scheduled, or changed. A
missing or cross-tenant
id returns 404.Authorizations
Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.
Path Parameters
Query Parameters
Preview an immediate cancel (true) vs cancel-at-period-end (default).
Response
The cancel preview.