Skip to content

Define HTTP idempotency and safe retries #103

Todo

Description

@v-rudkovskiy

Background

The Idempotency-Key is optional, response replay is Redis-backed, and processing records can be taken over after a timeout. A response failure does not necessarily mean the PSP did not act, so an indiscriminate retry can duplicate a side effect.

Scope

Proposed scope: Define key requirements, retention, Redis loss, different keys and 5xx semantics; do not retry an unknown outcome without reconciliation.

Acceptance criteria

Tests cover replay, conflict, timeout, Redis loss and 5xx before and after a side effect.

Questions to resolve

When is a key required, how long is it retained, and what is the behavior after Redis loss, timeout or a 5xx before versus after a PSP side effect?

References

Proposed priority: High (subject to project triage).

Activity

  1. self-assigned this
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions