An agent calls a paid endpoint. The server settles, the response is lost in transit, the client sees a timeout and retries. The second attempt carries a fresh authorization. Both parties followed their own documentation, and the buyer paid twice. No exception was thrown. No metric moved. This is the failure mode machine payments are least equipped to notice, because at current ticket sizes nobody is watching.
A market priced too small to audit
Public dataset puts x402 at 202,548,981 cumulative settlements worth USD 43,118,879, roughly 21 cents each. Independent facilitator tracking, read on November 19, 2026, shows USD 477.3k settled across 1,753,243 settlements over seven days, about 27 cents per settlement.
Averages hide dispersion. Central City settled USD 152.5k in 4,236 transactions during that week, or USD 36.00 per settlement. Polygon Facilitator moved USD 40.7k across 1,352,804 settlements, or USD 0.03 each. Same protocol, same week, three orders of magnitude apart in ticket size. FluxA sits at USD 30.64 per settlement across 4,934 transactions; PayAI at USD 0.25 across 12,677.
Read those figures as two economies sharing one header format. At three cents, a duplicate charge is unmeasurable and a refund costs more than the error it corrects. At thirty dollars, the duplicate becomes a customer complaint with a transaction hash attached.
What the specification says about an unknown outcome
Transport documentation is unusually honest here. It states that x402 HTTP transport defines no universal settlement-status endpoint and no application decision deadline. It returns a PAYMENT-RESPONSE header carrying settlement details on success and on failure alike, and labels settlement_pending as non-terminal, explicitly not permission to pay again.
Guidance to clients is blunt: after sending PAYMENT-SIGNATURE, treat outcome as unknown and do not automatically create or authorize another payment. To resume reconciliation after a restart, persist the logical request identifier, the request and payment-terms fingerprint, the observed settlement state, transaction hash and network, last reconciliation time, evidence references, and application deadline.
That is correct advice for a durable service holding a database and an operator. A single-shot agent working a thirty-second task budget has none of those. This gap between documented behavior and typical agent behavior is where duplicates live.
HTTP already said POST is not idempotent
RFC 9110 defines an idempotent method as one where multiple identical requests have the same intended effect on the server as a single request, then names PUT, DELETE and safe methods. POST is excluded by construction. Every payment step in this stack is POST: facilitator verify, facilitator settle, and most paid resource calls behind them. So the loop inherits non-idempotent semantics and bolts money onto it.
An extension exists, and it is opt-in
payment-identifier supplies what HTTP does not. The server advertises support inside its payment requirements; the client attaches an identifier of 16 to 128 characters; the server caches responses under that key with a configurable TTL, typically five minutes to twenty-four hours. Same identifier plus the same request fingerprint returns the stored response and the original settlement header without another verify or settle call. Same identifier with different fingerprint returns 409 Conflict. An identifier marked required but missing returns 400.
Two details decide whether that works in production. First, Coinbase documentation states CDP SDK does not enable it by default and sellers register it themselves. Second, clients learn of it only from a challenge they have not yet paid. Idempotency becomes a per-server feature discovered mid-transaction rather than a property of the transport, and a retry loop written against a server that omits it has no safe behavior available.
A race condition that shows what missing deduplication costs
Server documentation describes a direct-Solana settlement race: the same signed transaction submitted repeatedly before first confirmation, the RPC returning success for each submission because the network deduplicates at consensus, a malicious client using that to obtain several resources for one payment. Facilitator-mediated flows ship a settlement cache against it.
That is seller-side exposure. Buyer-side exposure runs opposite: a consumed authorization nonce protects a seller from replay but does nothing to stop a buyer signing a second authorization for the same intent. One direction has a guard. The other has advice.
Issue 452 and the middleware economy
An open issue filed in October 2025 states the problem cleanly: verify and settle are POST endpoints, the specification never says how facilitators handle duplicates, and reference facilitator implementations persist no prior results, so applications cannot distinguish already settled from genuine failure. Proposal: treat canonical payment payload as idempotency key, add an already_settled error code.
Maintainer reply on October 13, 2025 pushed responsibility to the application layer, noting that Stripe and PayPal support platform-side keys and expecting facilitators to eventually need similar machinery. By September 2026 the thread carried at least three independent MIT-licensed implementations of application-level middleware, one using atomic Redis SET NX PX reservation for multi-replica deployments.
Note what a middleware economy implies. When protocol leaves safety property to integrators, that property ships where integrators thought about it: in server middleware, not in clients. Deduplication at server boundary cannot rescue a client that never sent an identifier, nor return a response body it never stored.
Where the loss lands
Three distinct losses, only one visible.
Buyer pays twice: visible, refundable in principle, at 21 cents rarely justifies a claim. Seller delivers twice: invisible, yet real cost in compute, quota and upstream API spend. Reconciliation labor: dominant. Someone must match a transaction hash to an intent, decide whether to refund, and write policy so it does not recur.
Fingerprinting is where implementations break
Extension guidance requires binding the identifier to a fingerprint covering scheme, network, asset, amount, payTo, resource path, method and application-level operation where available. Any component varying per attempt breaks deduplication. Body with a fresh nonce varies. Signed blob varies. Timestamp in query string varies. Teams testing the happy path watch deduplication work, then ship a payload carrying a unique salt.
Response storage is the second cost. Caching bodies for twenty-four hours across every paid route is memory, eviction policy and a data-retention decision that belongs in a privacy review rather than a middleware default.
A short checklist for this quarter
-
Generate identifier once at logical request level, persist before first payment, reuse on every retry.
-
Bind it to request fingerprint, answer 409 on mismatch, never re-execute silently.
-
Set TTL longer than retry window plus restart window, not your cache default.
-
Store PAYMENT-RESPONSE transaction hash and network beside intent id, so reconciliation does not require re-reading chain history.
-
Cap automatic payment attempts, then move operation to an unresolved state instead of retrying again.
-
Treat settlement_pending as unknown forever until a transaction is confirmed, never as failure.
Predictions
-
At least one major facilitator makes payment-identifier default-on inside its seller SDK by mid-2027. Confidence 65 percent.
-
Publicly reported duplicate-charge incident spanning many small calls, exceeding USD 1,000 in aggregate, surfaces within twelve months. Confidence 55 percent.
-
Discovery catalogs start indexing idempotency support as a searchable field, beside price and network, before end of 2027. Confidence 70 percent.
The interesting question is not whether retries duplicate payments. They already do, invisibly, at price where invisibility stays default. Whether an agent economy can be audited depends on whether its smallest units carry a name.