ReletRelet Docs

Webhook Callbacks

Secure and operate callback processing with idempotent, retry-safe behavior.

Callbacks are the authoritative source of asynchronous payment and subscription outcomes. Your handling model must be secure and duplicate-safe.

Callback handling goals

These goals define reliable callback operations.

  1. Every callback request is authenticated and validated.
  2. Duplicate delivery does not cause duplicate side effects.
  3. State transitions are consistent, observable, and reversible where needed.

Callback processing workflow

Use this flow for each callback event lifecycle.

Verify callback authenticity and payload integrity.
Check if the event has already been processed.
Persist event metadata for audit and replay context.
Apply state transition and verify downstream consistency.

Reliability controls

These controls reduce callback-driven incidents.

  1. Keep handler logic idempotent.
  2. Record correlation identifiers for traceability.
  3. Surface repeated failures through monitoring alerts.
  4. Separate temporary retry from permanent failure outcomes.

Failure handling model

Use this model to keep retries safe and observable.

Retry automatically with bounded policy and monitor repeated attempts as a warning signal.

Stop retry loop, mark for manual review, and escalate with full callback evidence package.

Retry-safe requirement

Callback handlers must tolerate duplicate events without duplicating customer impact.

Next steps

  1. Pair callback checks with Admin monitoring.
  2. Verify provider assumptions in Payment providers.
  3. Use Troubleshooting for incident triage.

Last updated on

On this page