BT San Technology

26 October 2026

Webhooks that never arrive or arrive twice: designing retries and reconciliation between systems

2 min read · Websites and web apps

Illustration: a finger pointing at an orange-highlighted row in an event list on a laptop, with a network switch and blue cables behind
AI-generated illustration

Receiving an event is not the same as finishing the work downstream. Event IDs, signatures and duplicate-request checks. Retries, the order of data, and data that needs to be reconciled.

Steps to apply it

  1. Define the data contract and the proof that a request was received
  2. Store the event status before processing, in a way that suits the system
  3. Test duplicate deliveries, out-of-order events and a downstream service that is down
  4. Build an error list page and a scheduled reconciliation job

Example deliverable

Deliverable: a plan for receiving delivery-status events, with a way to recover missing items

Benefits

Makes missing items visible and lets problems be fixed one event at a time.

Limits and cautions

Retry rules and event order depend on the provider. Always check the provider's actual rules.

Starting references

  • Stripe — Webhook events
  • Stripe — Idempotent requests

References

  1. Stripe — Webhook events (accessed 2026-11-21)
  2. Stripe — Idempotent requests (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer