Skip to content
All concepts

Concept

Idempotency

An operation is idempotent if doing it twice has the same effect as doing it once. That is what makes a retry safe: the caller may repeat a request it is unsure about and the system will not act on it a second time. In practice the client sends the same idempotency key with every attempt, and the server stores the key with the result.

Watch the retry arrive with a key the server has seen: it gets the saved answer and no second charge. A live step from the lesson Idempotency keys (Payments). Timings and counts are illustrative.

Where you'll see it