Skip to main content

Webhooks

Send payment results to your own server: create a webhook, set its retries, and check the URL before you rely on it.

2 articles

A webhook is how a payment result reaches your server rather than only your browser. You make one with a URL, method, headers, and retry rules, then attach it to a gateway.

These pages cover the mechanics inside MockGateway. For background on what payment webhooks are and why signature checks matter, the blog post <a href="/blog/how-payment-gateway-webhooks-work">How Payment Gateway Webhooks Work</a> covers the concept and is not repeated here.

  1. 1Create a webhookPoint a gateway at your endpoint so payment results reach your server instead of only your browser.howto3 min read
  2. 2Test webhook connectivitySend a single request to a webhook URL and see whether it answers, before running a payment through it.howto3 min read