Skip to main content

Retries & Idempotency

Apply conservative retry controls to partner workflows and prevent duplicate state-changing operations.

Audience: Partner developers, platform engineers, QA teams, and operatorsLast Updated: September 28, 2026

Retry only when the operation and failure are known to be safe. A timeout does not prove that a state-changing request failed.

Decision Table

SituationDefault action
Local validation failureCorrect input; do not retry unchanged request
Authentication or authorization failureCorrect access configuration; do not loop
Read-only query transport failureConsider bounded retry with backoff and jitter
Quote request transport failureConsider bounded retry if duplicate quotes are acceptable to the approved workflow
Purchase, payment, bind, or modification outcome unknownReconcile status through an approved read/status contract before retrying
Explicit throttling responseFollow documented server guidance; see Rate Limits

Idempotency

The published API guide and streamlined purchase input reference an idempotencyKey. Generate a unique key per intended business action and reuse it only for a retry of that same action. Apply the scope, retention window, and replay behavior defined for the operation; otherwise reconcile an ambiguous result before replaying it.

Backoff Shape

Use exponential backoff with jitter within limits approved for your integration. Do not publish or hardcode an undocumented attempt count, delay, or timeout as a Travel Insured commitment.

Reconciliation Before Replay

For purchase, payment, bind, and modification operations:

  1. Persist the request correlation and carry-forward identifiers before sending.
  2. On an ambiguous outcome, mark the local transaction as pending.
  3. Query the approved source of truth or contact support with sanitized correlation data.
  4. Retry only when the prior attempt is confirmed not to have completed or the operation has a confirmed idempotency contract.

Still need help?

Reach out to your account manager for support.