Webhook Integration
Webhooks refers to a combination of elements that collectively create a notification and reaction system within a larger integration. ChaiPay uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when the status of a payment transaction gets updated.
#
Webhook Configuration- Create a webhook endpoint on your server with POST method.
- Register the webhook endpoint on CHAIPort Merchant portal in API Settings > Webhooks.
#
CHAIPort WebhooksCurrently following webhook types are supported on CHAIport
#
PAYIN - Payment Status UpdateThis webhook gets triggered whenever the status of the payment transaction gets updated at payment channel's end. Refer following sample payload received in Webhooks.
tip
During testing you can use FOSS Webhook server to setup webhook endpoint. Create a sample webhook at webhook.site