What it is
Instead of repeatedly asking whether something happened, a system sends a webhook to a URL you provide when an event occurs, such as payment received or form submitted.
Why it matters for your business
Webhooks enable real-time automation, such as confirming orders as soon as M-Pesa payment completes.
Real-world example
After an STK push, Safaricom sends a callback webhook to the shop, which marks the order paid instantly.
Design Corner tip
Verify webhook requests so attackers cannot send fake events.