What is an Idempotency Key?
How an idempotency key works
When your app sends a request, it includes a unique key with it, and the service receiving the request remembers that key. If a second request arrives carrying the same key, the service recognises it as a repeat and returns the original result instead of performing the action again. The key has to be unique per real action but identical across retries of that same action, so a checkout gets one key and every retry of that exact checkout reuses it.
Idempotency key examples
Picture a booking app where a customer taps "Pay" and their connection stutters, so the app sends the payment twice. Because both attempts carry the same idempotency key, the payment service sees the second one as a duplicate and ignores it. The customer is charged once, gets one confirmation, and never sees the glitch that happened underneath.
Frequently Asked Questions
Your Questions, Answered
Don't change this element unless you know what you are doing
on Emergent today


