A webhook is an outbound HTTP call that delivers an event without the consumer polling. The provider sends an event ID and payload, then judges delivery from the receiver response. A network failure or timeout can cause the same event to arrive again.
The demo moves through send, signature check, failed acknowledgment, and retry. A receiver should verify the signature, deduplicate by event ID, acknowledge promptly, and move slow work to a separate job.
When to use
Use it when another service must promptly notify you of events such as payment completion.