Webhook event for subscription.canceled.
Sent when a subscription is canceled. Customers might still have access until the end of the current period.
Discord & Slack support: Full
The data field contains a PolarExpress.Schemas.Subscription struct.
Summary
Functions
Returns the event type string.
Types
@type t() :: %PolarExpress.Events.SubscriptionCanceled{ data: PolarExpress.Schemas.Subscription.t(), timestamp: String.t(), type: String.t() }
type- Always"subscription.canceled".data- The event payload. SeePolarExpress.Schemas.Subscription.timestamp- ISO 8601 timestamp of when the event occurred.
Functions
@spec event_type() :: String.t()
Returns the event type string.