A webhook URL can now be provided as a request parameter in request bodies for certain endpoints which will notify you of any change in the underlying object status.
You don't have to schedule tasks at your end or deploy your resources at polling our endpoints periodically to know of a change in the status of a Tazapay object. Pass a webhook_url in the payload of APIs and Tazapay will notify your server with a POST request of any change in the status of the object. Please make sure to set the webhook_url under HTTPS, else the webhooks would not be triggered!
It is necessary that you configure your endpoint URL to acknowledge Tazapay's webhooks with standard HTTP Codes.
For example, pass 2xx for a successful POST request receipt on your server.
If Tazapay does not receive a 2xx acknowledgement, it will retry sending webhooks to the endpoint for a period of 36 hours. Click here for the detailed retry policy.
List of Tazapay objects which trigger a webhook response:
Not receiving webhooks?
In case of any server block or not receiving a response to your webhook URL, try whitelisting the below IP addresses:
Test Mode (Sandbox) : 18.104.22.168
Live Mode (Production) : 22.214.171.124