Glossary / Webhook
Webhook
A message one system sends to another when something happens, by calling a web address you gave it. Payment gateways use webhooks to tell you a payment succeeded.
An example
A customer pays. Paystack sends a charge.success message to https://yourapp.com/webhooks/paystack. Your server checks it is genuine, records the payment and replies “200 OK”. If it does not reply in time, Paystack sends it again.
Why it matters
Webhooks are attempted, not delivered. They arrive late, out of order and more than once, so the code that receives them has to expect all three.
We build this into client work under payment gateway integration.