Skip to content

Cancel the recurring subscription at period end

POST
/v1/billing/cancel
curl --request POST \
--url https://api.emite.cr/v1/billing/cancel \
--header 'Authorization: Bearer <token>'

Cancels at the end of the period already paid: the plan, its features and its add-ons keep working until currentPeriodEnd, when the add-ons end with the plan; until then the entitlements read cancelAtPeriodEnd: true and POST /billing/resume undoes it. A plan change scheduled for that date is dropped (a plan quote it carried goes back to being open while its validity lasts, or expires). A plan suspended for non-payment has no paid time left, so it is canceled on the spot, which also stops Onvo retrying the card. 400 NO_ACTIVE_SUBSCRIPTION without a subscription; 400 PLAN_MANAGED_BY_FUTURA_BYTE on a granted plan; 409 PLAN_COMMITMENT_ACTIVE while the minimum commitment of a quoted plan binds.