Fast payments don't make AI agents safe. Here's what a billion micropayments need first.
· updated · 5 min read
Everyone in crypto is talking about the agent economy: billions of AI agents paying each other for data, compute and services, millions of micropayments a minute, no human in the loop. The conversation is almost always about speed. How many transactions per second? How fast does it settle? How cheap is each payment?
Speed matters. Keeta, one of the networks we test on, reports 11.2 million transactions per second in a public stress test, with settlement in under a second. That's the kind of capacity a machine economy needs.
But speed answers one question: can the money move? It doesn't answer the question an agent actually faces before every payment: should it?
The question speed can't answer
When a person buys something online, they notice when it goes wrong. The page looks off, the price jumped, the download is empty. They stop, complain or ask for a refund.
An agent doesn't stop. It sees a price, pays it, and moves on to the next call. If the endpoint is broken, overpriced or hijacked, the agent pays it anyway, and with fast settlement it can do that thousands of times before anyone looks.
So the faster and cheaper payments get, the more the real risk shifts from "did the payment go through?" to "was it worth paying at all?"
We run Lumière PayCheck, which checks x402 endpoints before agents pay them. Here's what our own data says about that second question.
A payment proves money moved, not that anything arrived
In the last 30 days we made 23,760 real paid test calls to 7,993 x402 endpoints from 636 sellers, the same way any buyer would.
About 1 in 10 of those endpoints didn't deliver what their listing promised once we paid (89.8% did). We caught 642 bad calls in all, and more than half of them still charged us. Of the ones that charged us, barely 1 in 100 was refunded.
The most common problem wasn't a crash. It was an endpoint that took the payment and returned a response missing the fields its own listing promised. The payment settled perfectly. The data didn't arrive.
A fast network settles that bad call just as fast as a good one.
Grades don't stay put
We grade about 88,000 endpoints, and we started recording every grade change this week. In the first 12 hours we logged 4,892 changes in an endpoint's grade or verdict. In a single 35-minute monitoring cycle, about 2,600 of our checks found an endpoint that no longer answered with a price quote.
Some of those are the same endpoint going down and coming back an hour later. That's exactly the point: a check from last week isn't enough. An endpoint that was safe to pay yesterday can be failing, repriced or pointing at a new wallet today. An agent needs a fresh answer at the moment it pays.
A story from this month
One seller we worked with this month had a set of paid routes that looked fine from the outside. Their listing was there and the prices were reasonable.
Our checks found two problems. First, several routes checked the caller's inputs before showing a price, so an agent asking "what does this cost?" got an error instead of a quote. Second, when we paid, a route failed after the payment went through: a storage service behind it had hit a write limit on its free plan. Nothing in the price quote could have shown that. The only way to find it was to pay and look at what came back.
The seller fixed everything within a day: the price first, then the input checks, a sturdier database behind the routes, and example inputs so agents know exactly what to send. Those routes are being re-tested now.
That's the good version of this story: a builder who wants their endpoints to work, finding out fast. The bad version is the same failure with no one testing it, and agents paying it quietly, thousands of times.
If you sell x402 endpoints, three habits from that week are worth copying:
- Show the price first. Answer a plain call with the 402 quote before you check inputs, so agents and catalogs can see what you charge.
- Show an example input. Agents that know exactly what to send don't pay for a call that was going to fail.
- Test after the payment, not just before. The failures that cost buyers money happen after the money moves.
What a billion micropayments need besides speed
Fast settlement is one layer. An economy of agents paying agents also needs a few checks before each payment:
- Does this endpoint actually deliver? Not "is it listed" or "does it answer with a price," but "when someone paid, did the right data come back?" Only a real paid test answers that.
- Is the price the one it's always been? A price above the quote, or a sudden jump, should stop the payment.
- Is the payout wallet the real one? A changed payout wallet is how a hijacked endpoint shows up first. Rotations happen, so it has to be checked against the seller's own declaration and history, not just flagged.
- Is it still up right now? Not last week. Now.
- Did the agent get what it paid for? Recording the outcome after each payment is how the next agent knows.
None of these slow the payment down. They take a fraction of a second before it, and they're what lets an agent pay without a human watching.
Add the check in five lines
If your agent pays x402 endpoints, this is the whole change. Before paying, send the quote's URL, amount and payout wallet to PayCheck's free check, and pay only if it says yes:
const res = await fetch("https://lumierepaycheck.org/v1/check-payment", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ url: target, amount: quote.amount, payTo: quote.payTo }),
});
const decision = await res.json();
if (!decision.allow) throw new Error(`Not paying ${target}: ${decision.reasons.join("; ")}`);No account or API key. If you'd rather not write code, add PayCheck's MCP server to Claude or Cursor and tell your agent to call check_payment before every payment.
Where PayCheck fits
PayCheck answers those questions before an agent pays. We monitor about 147,000 x402 endpoints every 30 minutes, make real paid tests to confirm delivery, and give each endpoint a grade and a plain verdict: proceed, caution or avoid. Before paying, an agent asks "may I pay this endpoint this amount to this wallet?" and gets allow or deny with the reasons.
We test on Base, Solana and Keeta, paying in USDC on each one like any buyer would. The checks are free and need no account, and they work from Claude, Cursor or any MCP client.
The agent economy will need fast rails. It'll also need agents that know when not to pay.
Check any x402 endpoint for free, or read how we grade.
Related reading
More from the blog
What Is 402 Payment Required?
402 Payment Required is an HTTP status code used by APIs to request payment before delivering data. It allows a server to send a price quote and wallet…
x402 Payout Wallet Changed: What It Means for Your API Payments
If an x402 endpoint's payout wallet changed, the address where the seller receives money is different from before. This could be a legitimate update or a…
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…