← Back to Example Payments Workspace
🔁

Resilient webhook retries

4 min readUpdated weekly

Designing retry-friendly handlers

  • Always respond with a 2xx status once you persist the event.
  • Use the event_id field to de-duplicate retries.
  • Store the complete payload for observability and later replay.

Recommended backoff schedule

  1. Immediate retry after 30 seconds.
  2. Second attempt at 2 minutes.
  3. Third attempt at 10 minutes with a notification to your on-call channel.

Testing locally

Use the built-in webhook replay panel inside the Example docs to trigger events on demand and inspect delivery history.

Apidex