Setting up receiving webhooks
Once you have familiarized yourself with the structure and general information about webhooks, you can begin setting up their reception.
To receive webhooks from Pay-center, you will need to:
- Create an endpoint on your server that can receive webhooks.
- The endpoint must be configured to accept HTTP requests with the
POST
method. - Ensure that the endpoint has one of the following TCP ports open:
443, 8443
. If you need to receive webhooks on other ports, please contact Pay-center. - Configure webhook signature verification in the following way.
- The endpoint must be configured to accept HTTP requests with the
- Add the following IP addresses to your server's whitelist:
35.187.74.148
- Test your webhook setup:
- Create a payment using a test project to test the reception of webhooks.