Which webhook event will trigger when invoice is in dunning?
Problem Statement
You want to know which webhook event to use when a credit card payment fails and the invoice enters dunning.
Solution
Use the payment_failed event and read the dunning_status parameter:
- in_progress – Dunning is active
- exhausted – Dunning attempts are complete but the invoice was not collected
- success – Dunning retries succeeded and the invoice will be paid
Was this article helpful?