Account Suspension
Delinquent accounts are automatically suspended when the grace period is exceeded.
Suspension Worker
Runs daily at 02:00 UTC and:
- Synchronizes the status of delinquent accounts
- Gets the
gracePeriodDaysfrom the dunning configuration (default: 3 days) - Finds delinquent accounts with:
- Stage
warningorfinal - Oldest overdue date > grace period
- Not yet suspended
- Not recovered
- Stage
- For each account:
- Changes the billing account status to
suspended - Updates the delinquency stage to
suspended - Pauses all active subscriptions
- Sends a suspension notification
- Changes the billing account status to
Suspension Effects
- Billing account status:
suspended - All active subscriptions are automatically paused
- The suspension reason is recorded (e.g., "Delinquency for X+ days")
- Notification sent to the account holder
Suspension Notification
Type: account_suspended
Available variables:
- Organization name
- Total overdue amount
- Suspension date
Reactivation
Reactivation is done manually after payment is settled:
- Operator accesses the billing account
- Clicks "Reactivate"
- Status returns to
active - Suspension fields are cleared
- Paused subscriptions can be resumed individually