Encyclopedia / Backend
Webhook
A service calling your URL when something happens.
Instead of you asking Stripe 'did they pay yet?' over and over, Stripe POSTs to /api/stripe-webhook when the payment succeeds. Always verify the webhook's signature, because anyone can POST to a URL.
Related terms
More in Backend
Code and data that run on a server instead of in the visitor's browser.