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

WebhookSubscriptionPastDuePayload

Sent when a subscription payment fails and the subscription enters `past_due` status.

This is a recoverable state - the customer can update their payment method to restore the subscription.
Benefits may be revoked depending on the organization's grace period settings.

If payment retries are exhausted, a `subscription.revoked` event will be sent.

**Discord & Slack support:** Full

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.WebhookSubscriptionPastDuePayload{
  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*
