Idempotency is half server and half client. The client half has to be written down, because a consumer who retries the wrong things, or with new keys each time,...
Laravel, shipping fast.
Chapter 8 · Idempotency and Safe Retries