The Developer Tools Podcast with Fexingo · 2026-07-22 · 11 min
In this episode, Lucas and Luna dive into the practical reasons why your API should treat retries as a first-class design concern, using idempotency keys. They walk through a real-world scenario from Stripe, where the failure to deduplicate a payment charge during a network timeout led to a customer being billed twice. Lucas explains how idempotency keys work under the hood - how the server stores the key, the response, and returns the same result for duplicate requests - and why this pattern goes beyond payments to any mutable operation like order creation or email sends. Luna pushes back on the implementation complexity, and Lucas shares a concrete example: a ride-hailing API that avoided double-booking rides by requiring an idempotency key on the 'request ride' endpoint. They also touch on the gotcha of key expiration and idempotency scope. The episode includes a light, integrated mention of listener support via buy me a coffee dot com slash fexingo.
Other episodes covering the same guests and topics, from across The B2B Podcast Index.