What Happens When an x402 Payment Fails
· updated · 3 min read
When an x402 payment fails, what happens to your money depends on where it failed. If the seller rejects the payment, nothing settles and you keep your USDC. If the seller answers with an error, standard x402 servers don't collect. The cases that cost money are the ones where the seller takes the payment and sends back nothing useful, or the call times out and you pay again.
A 402 response on its own isn't a failure. It's the seller's quote: the price, the network, the token and the payout wallet. Your agent signs a payment for that amount and sends the request again with the payment attached. Here is what can go wrong after that, and what to do in each case.
The payment is rejected
You send the signed payment and get another 402 back, usually with an error. The facilitator refused it before anything moved. Common causes: the wallet doesn't hold enough USDC, the signature expired, or the payment was for a different network or token than the quote asked for.
Nothing settled, so nothing was lost. Read the error, fix the cause (top up, use the network in the quote) and sign a new payment.
> Free tool: x402 endpoint checker: paste any x402 URL to see its grade, uptime, price and payout-wallet history, and real paid-test results, before your agent pays it.
The seller answers with an error
You paid and got a 500, a 503 or another error back. Standard x402 servers settle the payment only when they answer successfully, so an error usually means you weren't charged. Check for a transfer to the seller's payout wallet on a block explorer if you need to be sure.
The call times out
This is the risky one. The request hangs or your agent crashes after the payment went out, and you can't tell whether it settled. Don't sign a new payment. Send the same signed payment again: it carries a one-time nonce, so it can only settle once however many times you send it. More on this in how to retry an x402 request without paying twice.
You paid and got junk
The seller took the payment and returned an empty result, the wrong data or something that doesn't match its listing. This is where agents actually lose money. In Lumière PayCheck's own paid tests over the last 30 days, sellers charged for 63 of 68 bad calls and refunded none of them. x402 has no chargeback, so a refund is up to the seller. The reliability report shows the numbers and which sellers refund.
If it happens to your agent, report it with the report_outcome MCP tool and the payment's transaction hash. Reports are checked against the on-chain payment, and a confirmed problem moves the endpoint up PayCheck's paid-test queue.
Stop most failures before they cost anything
The cheapest failure is the one you don't pay for. Before paying, send the quote to check_payment, or POST it to https://lumierepaycheck.org/v1/check-payment with the url, amount, payTo and network. It answers allow true or false, with the reasons. It says no when:
- the endpoint failed a real paid test (it took the money and didn't deliver),
- the payout wallet in the quote isn't the one the seller normally uses or declares, a common sign of a hijacked endpoint,
- the price is higher than the seller usually charges,
- the wallet is on the OFAC sanctions list.
PayCheck makes real paid calls to sellers itself, so a grade of A or B means a test payment actually delivered. Every paid test has a signed receipt you can check.
FAQ
Do I lose my money if an x402 payment is rejected? No. A rejected payment never settles. You only pay when the facilitator settles the payment, which standard servers do when they answer successfully.
Should I pay again if the request timed out? Not with a new payment. Resend the same signed payment first. Sign a new one only after you've confirmed the first one never reached the chain.
Can I get a refund for a bad response? Only from the seller. x402 has no chargeback today. Check a seller's refund record in the reliability report before you rely on one.
Add the check to your agent in one step: lumierepaycheck.org/install
Related reading
More from the blog
OpenAI Alternatives on x402: How to Check an AI API Before Your Agent Pays
More AI model APIs now sell by the call over x402: text generation, image generation, embeddings, speech. No account, no API key, no monthly plan. Your…
We started grading MPP endpoints. Here's what 1,226 of them look like.
We checked every callable endpoint in the MPP catalog and read 30 days of MPP payments on Tempo: 581,000 real payments at a median of 1 cent, 98%…
How to Retry an x402 Request Without Paying Twice
To retry an x402 request without paying twice, resend the same signed payment instead of signing a new one. An x402 payment is a signed authorization with a…