This article covers 

Which webhook event to listen to when credit card payment declines?


Solution

You can listen to the payment_failed event and look for the “dunning_status” parameter that will say -
in_progress if Dunning is active,
exhausted if Dunning attempts are complete but the invoice couldn't be collected, and
Success if Dunning reties were successful, and the invoice will be paid.


Related articles and Documentation

https://www.chargebee.com/docs/2.0/events_and_webhooks.html

https://apidocs.chargebee.com/docs/api/events