What It Actually Means
The contrast with an API call is direction. An API call is you asking. A webhook is being told. One is checking your letterbox every ten minutes; the other is the doorbell.
Why It Matters Commercially
The difference shows up as delay, and delay is visible to customers.
A system checking for new payments every fifteen minutes means an order can sit unconfirmed for fifteen minutes. Checking every minute is expensive in requests and still a minute behind. A webhook means it happens when it happens, which is what people now expect.
It also removes wasted work. Polling means constantly asking whether anything changed, and most of the time the answer is no. On any system with meaningful volume that is a significant amount of pointless traffic, and some providers charge for it.
So webhooks are what makes an integration feel like one system rather than several that periodically compare notes.
What Goes Wrong With Them
They are one-way messages sent over the internet, which means several things can and do fail. A well-built integration accounts for all of them, and a hastily built one accounts for none.
They can arrive twice. Providers retry when unsure a message was received, so the same event can be delivered more than once. If your system does not check, one payment becomes two orders. This is the most common webhook bug and it is invisible until it happens.
They can arrive out of order. Created and updated can arrive the wrong way round.
They can be missed entirely. If your system is briefly down, the message may be retried a few times and then abandoned. Anything important needs a periodic reconciliation, asking the provider directly whether anything was missed.
They can be forged. The address receiving them is public, so anyone who finds it can send a fake event claiming a payment succeeded. Providers sign their messages; verifying that signature is essential and is skipped surprisingly often.
What To Ask
- Do we verify the signature on incoming webhooks? It is a security question with a real consequence, and a common gap.
- What happens if the same event arrives twice? There should be a definite answer.
- What happens if one is missed? There should be a reconciliation, not a hope.
- Do we log what we receive? Debugging an integration without a record of the messages is guesswork.
- Does this provider support webhooks at all? If not, expect the integration to be delayed by design.
Where They Fit
Most well-built integrations use both mechanisms: webhooks so things happen immediately, and API calls to fetch fuller detail and to reconcile periodically against the source.
Relying on webhooks alone assumes perfect delivery, which is not a property the internet has. Relying on polling alone is slower and more expensive than it needs to be. Doing both is the arrangement that survives contact with real conditions, and it is a reasonable thing to expect in any integration work you commission.
More terms are in the glossary.