<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Idempotency on Tokenise</title><link>https://tokenise.rosvetic.com/tags/idempotency/</link><description>Recent content in Idempotency on Tokenise</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Thu, 12 Nov 2026 07:03:00 +0000</lastBuildDate><atom:link href="https://tokenise.rosvetic.com/tags/idempotency/index.xml" rel="self" type="application/rss+xml"/><item><title>Your agent's POST endpoint charges twice on retry: six tests that force a real idempotency key</title><link>https://tokenise.rosvetic.com/posts/idempotency-key-agent-post-endpoint-csharp/</link><pubDate>Thu, 12 Nov 2026 07:03:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/idempotency-key-agent-post-endpoint-csharp/</guid><description>&lt;p&gt;A mobile client sends a payment, the connection drops before the response arrives, and the app does what every retry library does: it sends the same request again. The agent-written &lt;code&gt;POST /payments&lt;/code&gt; endpoint does what the prompt asked, so it charges the card a second time. Nothing in the diff looks wrong. The handler is four lines, it passes its tests, and the bug only exists when the network does something the tests never simulate.&lt;/p&gt;</description></item></channel></rss>