This article covers
Which event marks the closing of the Dunning Period?
I want to get notified when the dunning period is exhausted for a subscription.
Summary
With Chargebee's Dunning feature, you can send email reminders to your customers asking them to update payment details and schedule payment retries at intervals to ensure revenue can be recovered. After the final payment retry attempt, you can configure what should be the status of the subscription.
There may be multiple dunning attempts made on the invoice before changing the status.
Solution
In order to get notified, you need to enable webhook for the following event:
Every time a dunning attempt fails, the 'payment_failed' event gets generated.
Suppose, there are three dunning attempts. Only in the last dunning attempt payment failed event, "dunning_status": "exhausted" is present which marks the closure of the dunning period.