Skip to main content

subscription.cancelled

Generated from COPE public event contracts. Do not edit this page by hand.
Use this event to stop expecting renewals on a subscription and to end whatever you grant alongside it. You receive it once per subscription. A cancellation the buyer or COPE support asked for through COPE arrives when it is accepted: the subscription keeps running and the buyer keeps access until access_until, so do not revoke anything before that date. Every other ending — one you asked for through the cancel endpoint, renewal payments that kept failing, or a cancellation made directly at the payment processor — arrives when the subscription has already ended, and access_until is when it ended. cancellation_reason is one of buyer_cancel, admin_cancel, business_cancel and payment_failed, and those four are the whole list. Identify the subscription by subscription.id, with subscription_id carrying the same value until it retires; line_item_id and business_id are internal references, so do not store them.

Delivery Contract

Payload Fields

Example CloudEvent

Compatibility

Fields may be added within the same major version. Removing or changing the meaning of a documented field requires a new event version.