A webhook is an HTTP endpoint on your server that receives information from Tazapay.
Webhooks allow you to get notified of any updates that happen for a transaction outside the payment flow. For example, if a customer successfully completes the payment on the hosted payment page, webhooks instantly notify you of the receiving of funds. Upon receiving the information from Tazapay, you can accordingly proceed for order fulfilment. Currently, Tazapay supports webhooks for any updates related to:
- The state of the checkout session.
- The payment attempts for a checkout session.
- Refund Status.
Webhooks are also very useful when a customer chooses an asynchronous mode of payment like Local Bank Transfer. Rather than deploying your resources to constantly poll the Status API, Tazapay will itself send a webhook as soon as the funds are received.
Tazapay recommends use of dashboard and GET APIs only for an one-off transaction. For a faster and more-scalable approach, use webhooks.
Updated 4 months ago