When it fires
At the start of each new billing cycle for anactive subscriber. Settlx creates a renewal invoice and transitions the subscriber to past_due until payment is confirmed.
This also fires when a first invoice is created for a new pending subscriber (if no trial period is configured).
What to do
- Send a payment reminder email to the subscriber
- Optionally restrict non-critical features while the invoice is outstanding
- Do not revoke access immediately — the subscriber still has the full grace period to pay
The grace period is configured per plan (
gracePeriodDays). The subscriber’s gracePeriodEndsAt in the payload tells you exactly when access should be revoked if no payment arrives.Payload
| Field | Type | Description |
|---|---|---|
event | string | Always subscriber.past_due |
subscriberId | string | UUID of the subscriber record |
merchantId | string | Your merchant account UUID |
planId | string | UUID of the plan |
email | string | Subscriber email address |
status | string | Always past_due |
currentPeriodEnd | string | ISO 8601 — end of the billing period |
gracePeriodEndsAt | string | ISO 8601 — deadline to pay before the subscription expires |
timestamp | string | ISO 8601 — when the event was generated |
Handler example
Node.js
Related events
subscriber.activated— Payment confirmed; subscription renewed.subscriber.expired— Grace period elapsed without payment. Revoke access.