Overview

VoPay provides the option to create HTTP callbacks via a POST request, commonly called webhooks or push notifications. These events are triggered when some changes occur in your application at any time. For example, if your transaction has been approved or changes status, we will notify you about that change.

These notifications eliminate the need to poll the API to discover changes to account records or receive updates on payments.

How it works

To receive the notification, you have to set up the URL properly. After this configuration occurs, the system will start to send notifications.

The system will attempt to send the webhook up to three times, expecting a 200 HTTP status code to mark the webhook as a success. Each failed webhook request will be retried again 15 minutes later. After the third failed attempt, the webhook will be considered as deprecated and it will not try again.

📘

Adding a Webhook URL

To add a webhook URL, simply call the Add Webhook URL endpoint


What’s Next