# `PolarExpress.Schemas.WebhookSubscriptionRevokedPayload`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/schemas/webhook_subscription_revoked_payload.ex#L2)

WebhookSubscriptionRevokedPayload

Sent when a subscription is revoked and the user loses access immediately.
Happens when the subscription is canceled or payment retries are exhausted (status becomes `unpaid`).

For payment failures that can still be recovered, see `subscription.past_due`.

**Discord & Slack support:** Full

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.WebhookSubscriptionRevokedPayload{
  data: PolarExpress.Schemas.Subscription.t() | nil,
  timestamp: DateTime.t() | nil,
  type: String.t() | nil
}
```

* `data`
* `timestamp` - Format: date-time.
* `type`

# `schema_name`

---

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