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

API Third-party services

More in Backend

Code and data that run on a server instead of in the visitor's browser.

API Database Authentication Environment variables & secrets Third-party services

Open in the interactive encyclopedia →