Search documentation of polar_express

# PolarExpress.Events.SubscriptionUncanceled (polar_express v0.1.5)

Copy Markdown View Source

Webhook event for `subscription.uncanceled`.

Sent when a customer revokes a pending cancellation.

When a customer cancels with "at period end", they retain access until the subscription would renew. During this time, they can change their mind and undo the cancellation. This event is triggered when they do so.

Discord & Slack support: Full

The `data` field contains a `PolarExpress.Schemas.Subscription` struct.

## Summary

### Types

t()

### Functions

event_type()

Returns the event type string.

## Types

# t()

    @type t() :: %PolarExpress.Events.SubscriptionUncanceled{
      data: PolarExpress.Schemas.Subscription.t(),
      timestamp: String.t(),
      type: String.t()
    }

- `type` - Always `"subscription.uncanceled"`.
- `data` - The event payload. See `PolarExpress.Schemas.Subscription`.
- `timestamp` - ISO 8601 timestamp of when the event occurred.

## Functions

# event_type()

    @spec event_type() :: String.t()

Returns the event type string.