Webhook
A Webhook is an HTTP-based callback function that allows lightweight, event-driven communication between servers.
In payments, webhooks are essential for keeping a merchant's server synchronized with the payment processor. Instead of the merchant constantly asking "Is this payment approved yet?" (polling), the processor automatically sends an asynchronous payload (the webhook) to the merchant's endpoint the moment the payment status changes to `succeeded`, `failed`, or `disputed`.