Webhooks refers to a combination of elements that collectively create a notification and reaction system within a larger integration. PortOne 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.
- Create a webhook endpoint on your server with POST method.
- Register the webhook endpoint on PortOne Merchant portal in API Settings > Webhooks.
Currently following webhook types are supported on PortOne
This webhook gets triggered whenever the status of the payment transaction gets updated at payment channel's end. Refer following sample payload received in Webhooks.
During testing you can use FOSS Webhook server to setup webhook endpoint. Create a sample webhook at webhook.site