PrepCity

Idempotency keys

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 7 pages · about 4 min

Idempotency keys

The client names each intended payment with a key; the server stores the outcome under it and replays it for any retry.

Words you’ll learn

  • Idempotency key
  • API
  • Fingerprint
  • Request
  • Retry
  • Client
  • Server
  • Database
  • Idempotent

Page by page