Skip to main content

When it fires

When a merchant cancels a subscriber — either immediately or scheduled at the end of the current period — from the dashboard.
  • Immediate cancellation: subscriber status is set to cancelled right away; subscriber.cancelled fires immediately
  • Cancel at period end: subscriber continues as active until the current period ends, then transitions to cancelled and this event fires

What to do

Depends on whether this is an immediate or end-of-period cancellation. Check whether currentPeriodEnd is in the future. If currentPeriodEnd is in the past or now: Revoke access immediately. If currentPeriodEnd is in the future: The subscriber paid through the end of the period. Maintain access until then and schedule revocation. You will not receive another webhook at period end — act on this event.

Payload


Handler example

Node.js