Being informed when payments fail is important, so Ezypay provides webhooks that can be configured to send notifications when an event has occurred. These events can include failed payment events such as when a customer's payment method returns as invalid or an invoice status changes to past_due.
To receive alerts about failed payments, you can set up your app to receive webhook notifications. The webhook will send a HTTP POST callback request to your app URL when a specific event(s) is triggered.
For failed payment, we recommend setting up your webhook for the following events:
You can set up webhooks for other events depending on the needs of your software. Below is a link to all the webhooks and events available:
Updated almost 2 years ago