The B2B Podcast Index
Index
All categories
MarketingSalesSaaSFinanceHROpsLeadershipCustomer SuccessAI & DataProductStartups & FoundersRevOpsEngineering & DevTools
MethodologySubmit
Best of:MarketingSalesSaaSFinanceHROpsLeadershipCustomer SuccessAI & DataProductStartups & FoundersRevOpsEngineering & DevTools
An independent project byFame
SearchBest episodesGuestsInsightsMethodologySubmit a podcast
Index/Engineering & DevTools/The Developer Tools Podcast with Fexingo
The Developer Tools Podcast with Fexingo artwork

Why Your API Should Use Idempotency Keys for Payment Retries

The Developer Tools Podcast with Fexingo · 2026-07-22 · 11 min

0:00--:--

Topics in this episode

Idempotency keysapi retriespayment double chargestripe idempotency keyride hailing api

Episode notes

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.

Related episodes across the Index

Other episodes covering the same guests and topics, from across The B2B Podcast Index.

  • How Stripe Built a Payment Infrastructure for 100 CountriesThe CTO Podcast with Fexingo · on Idempotency keys71 / 100

More from The Developer Tools Podcast with Fexingo

All episodes →
  • Why Your API Should Support Cursor Pagination
  • Why Your API Should Use Long Polling for Real-Time Updates
  • Why Your API Needs a Backward-Compatible Versioning Strategy
  • How to Sell Your API to a Billion-Dollar Platform
  • Why Your API Needs a Webhook Signature Verification
Explore the best B2B Engineering & DevTools podcasts →
All The Developer Tools Podcast with Fexingo episodes →