Explainers, comparisons and guides on agent payments
Adding x402 to an API you already run
The integration is small. The decisions around it are not, and three of them are hard to change once you have traffic.
ReadMore reading
Agent cards and A2A discovery, and where they stop
A card tells another agent what you can do once it knows your domain. It does not answer the question an agent usually has, which is who can do this.
ReadAgent payment protocols compared, October 2026
x402, AP2, ACP and MPP in one table, with the two questions that actually decide between them and the control none of them gives you.
ReadSpending controls for an agent's wallet
Two enforcement models, five controls, and one rule: anything the agent can talk itself out of is not a control.
ReadCan an AI assistant pay for something on its own?
Most mainstream assistants cannot spend money directly. The ones that can do it through a wallet their operator funded, with limits the operator set.
ReadEIP-3009 explained, and why x402 is built on it
EIP-3009 lets a token holder sign a transfer instead of broadcasting one, so a third party can submit it and pay the gas. It is the mechanism under most x402 payments.
ReadERC-8004 explained, and what the research found
A registry standard giving agents on-chain identity, reputation and validation. Adoption is large, and an empirical study found most of it is placeholders.
ReadHow an agent chooses between two services that do the same thing
Price, latency and evidence of working, in that order, with no brand loyalty anywhere. What that means for a seller trying to win the comparison.
ReadHow AI agents discover and pay for services
The four routes an agent has to find a paid API it has never seen, what each one misses, and how to make your own endpoint findable.
ReadHow AI agents pay for APIs: x402, API keys and cards compared
The three ways software can pay for an API call today, what each one costs in friction, and which to offer when your buyer is an agent rather than a person.
ReadHow much x402 volume is real?
Four independent analyses in 2026 asked the same question and all found the headline figures overstated. Here is what each one measured and what survives.
ReadHow to audit an x402 service's claimed traffic
A seller's dashboard is a claim. The chain is a record. Seven checks you can run against a wallet address before believing either.
ReadHow to price an endpoint when the buyer is an agent
A program comparing two endpoints has no loyalty and no inertia. That changes what a price has to do and which pricing mistakes are fatal.
ReadHTTP 402 Payment Required, and why it took 30 years to use
402 was reserved in the original HTTP spec and left unimplemented for three decades. What changed is that the buyer stopped being a person.
ReadKnow Your Agent, and what it can honestly establish
KYA borrows a name from compliance and cannot do what compliance does. What it can do is bind a claim to a key and leave a checkable record.
Readllms.txt explained, and what it is actually good for
A plain markdown file at your root that tells a model what your site offers. Useful, widely misunderstood, and not a discovery mechanism.
ReadHow to make your API discoverable to AI agents
An agent finds you four ways and three of them need something published that most APIs do not have. Here is the whole checklist, in priority order.
ReadMCP, A2A and x402: which layer does what
Three protocols people treat as competitors sit at three different layers. Getting the stack right removes most of the confusion about agent infrastructure.
ReadHow to charge for an MCP server with x402
MCP has no payment layer, so the money goes in the HTTP transport underneath. That constraint decides the whole design, including what your refusals can say.
ReadPrompt injection when the agent can spend money
A signed mandate proves a user signed, not that they understood. That gap is where injected instructions turn an agent's wallet into the attacker's.
ReadPublishing an x402 service: the checklist
Twelve things to get right before an agent can find, evaluate and pay your endpoint, in the order they actually block you.
ReadRate limiting when your buyer is an agent
Every x402 request is prepaid, which changes what abuse looks like. The limits you need are different from the ones a free tier taught you to build.
ReadHow to read an agentic payments dashboard without being misled
Most dashboards in this space show a true number computed over an unstated population. Six habits stop you drawing the wrong conclusion from a correct chart.
ReadRefunds and failures in x402, and how to handle both
Settlement is final and there is no chargeback. That makes the failure cases a design decision rather than a support process.
ReadShould you run your own x402 facilitator?
Usually no. The cases where the answer is yes are specific, and the work you take on is a funded hot wallet rather than a library.
ReadHow to screen a counterparty before paying it
Six checks an agent can run in under a second against a payee it has never used, and the one rule that holds when all six come back empty.
ReadWhich stablecoin should an agent pay with?
USDC dominates x402 for a technical reason rather than a commercial one. Knowing what that reason is tells you when another asset is viable.
ReadTesting x402 on a testnet, and what will still break on mainnet
Testnets cover the happy path well and three specific things badly. Knowing which is the difference between a clean launch and a confusing one.
ReadWash trading in agentic commerce, and how to spot it
Manufacturing payment volume costs a fraction of a cent and produces numbers indistinguishable from commerce. Five patterns separate the two.
ReadThe well-known files an agent looks for on your domain
Six paths under /.well-known that agents and crawlers probe, what each one is for, and the status-code trap that makes missing ones look present.
ReadWhat is a settlement, and why is it the unit that matters?
A request, a payment and a settlement are three different things, and only one of them is a fact about the world. Conflating them is how agentic commerce gets miscounted.
ReadWhat is an x402 facilitator, and do you need one?
A facilitator verifies a signed x402 payment and submits it on-chain, so the seller never touches a blockchain and the buyer never needs gas.
ReadWhat is x402? The HTTP payment protocol AI agents use
x402 turns HTTP 402 Payment Required into a working payment flow, so software can buy an API call without a card, an account or a human.
ReadWhat proves a transfer was an x402 payment?
The on-chain marker everyone counts predates x402 and is produced by unrelated systems. The actual discriminator is who relayed the transaction.
ReadWhich blockchains support x402?
Spec support and live settlement are different claims, and the gap between them is where most of the confusion lives. Here is what each one means.
ReadWho pays the gas in an x402 payment?
The buyer signs but never broadcasts, so the facilitator pays the gas and prices it in. That single design choice is why agents can hold one asset.
ReadWhy USDC carries almost all x402 payments
Not because of the issuer. Because it implements the one token function that lets a buyer pay with a signature and no gas token.
ReadWhy x402 transaction counts disagree by orders of magnitude
Trackers reported figures from thousands of dollars to billions for the same protocol in the same year. Six specific differences explain almost all of it.
ReadThe X-PAYMENT header, and what the server sends back
The payment travels as one base64 header on an ordinary retry, and the receipt comes back the same way. Here is what is inside both.
Readx402 exact vs upto, and when to use each
One scheme charges a fixed price agreed before the work, the other authorises a ceiling and settles for what was used. The choice changes who carries the risk.
Readx402 facilitators compared, and how to pick one
Coinbase CDP, thirdweb, PayAI, Cloudflare and self-hosting are the live options. They differ most in chain coverage, replay handling and what happens when they are down.
ReadWho governs x402, and what that means for building on it
x402 moved from a Coinbase project to a Linux Foundation body in April 2026. The practical effect is on what can change under you, and how fast.
Readx402 on Base, and what the record actually shows
Base is where x402 launched and where its deepest history sits. What that history is worth depends entirely on which band of it you count.
Readx402 on Solana, and why the share figures disagree
Solana took the larger share of x402 transaction activity through 2026 while Base held the cumulative lead. Both are true, and the difference is instructive.
ReadThe x402 accepts array, field by field
A 402 response carries its own price list. Each entry in the accepts array is a complete offer, and two of its fields are where most integrations go wrong.
ReadThe known attacks on x402, and what fixes each one
Independent research in 2026 found five classes of problem, two in the protocol's use and three in implementations. All have mitigations and most are cheap.
Readx402 v1 vs v2, and what to change in your integration
Version 2 generalised the network and asset fields so non-EVM chains stopped being a special case. Most v1 integrations keep working, but two assumptions in them break.
Readx402 vs ACP, and which one your checkout needs
ACP structures agent-driven checkout with real merchants on card rails. x402 prices a single HTTP request. The split is retail against infrastructure.
Readx402 vs AP2, and why you probably need both
AP2 proves a person authorised a purchase. x402 moves the money. They solve different halves of the same problem and compose rather than compete.
Readx402 vs API keys: which should your API offer?
Keys work when the buyer will integrate deliberately. x402 works when the buyer found you a moment ago. Most APIs should offer both, in that order.
Readx402 vs L402, and what Lightning got right first
L402 used HTTP 402 with Lightning years before x402 existed. Comparing them shows which design choices were about the chain and which were about the buyer.
Readx402 vs Stripe's Machine Payments Protocol
MPP launched with Tempo in March 2026 and does the same job through Stripe's rails. The choice is between an open settlement layer and a payments company's stack.
ReadPer-call pricing vs subscriptions for AI products
Subscriptions bundle risk and reward predictability. Per-call pricing unbundles both. For a product whose buyer may be software, the bundle stops working.
ReadReading this as an agent?
Every page here has a markdown twin at the same URL plus .md. Same words, no navigation, no markup to strip. And the settlement record this article describes is a live index you can query rather than a claim you have to take on trust.
GET https://roundhouseai.io/resources.mdthis page, as markdownGET https://roundhouseai.io/llms.txtevery surface on roundhouseai.ioGET https://api.roundhouseai.io/v0the index: endpoints and schemaGET https://api.roundhouseai.io/v0/test/x402$0.01 over x402, and it mints your own key with no account
/docs/api has the limits and the SQL surface. /v0/account, /v0/endpoints and the capability layer answer without a key.
