Implement a handler that processes payment requests exactly once. Clients may retry with the same Idempotency-Key header; duplicate requests must return the original response without charging twice.
POST /payments
Idempotency-Key: 7f3c…
→ 201 {"id":"pay_91","status":"captured"}