# `PolarExpress.Events.SubscriptionUncanceled`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/events/subscription_uncanceled.ex#L2)

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.

# `t`

```elixir
@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.

# `event_type`

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

Returns the event type string.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
