Resources

Explainers, comparisons and guides on agent payments

Adding x402 to an API you already run

Guide

The integration is small. The decisions around it are not, and three of them are hard to change once you have traffic.

Read

More reading

Agent cards and A2A discovery, and where they stop

Explainer

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.

Read

Agent payment protocols compared, October 2026

Comparison

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.

Read

Spending controls for an agent's wallet

Guide

Two enforcement models, five controls, and one rule: anything the agent can talk itself out of is not a control.

Read

Can an AI assistant pay for something on its own?

Explainer

Most mainstream assistants cannot spend money directly. The ones that can do it through a wallet their operator funded, with limits the operator set.

Read

EIP-3009 explained, and why x402 is built on it

Explainer

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.

Read

ERC-8004 explained, and what the research found

Explainer

A registry standard giving agents on-chain identity, reputation and validation. Adoption is large, and an empirical study found most of it is placeholders.

Read

How an agent chooses between two services that do the same thing

Guide

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.

Read

How AI agents discover and pay for services

Guide

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.

Read

How AI agents pay for APIs: x402, API keys and cards compared

Comparison

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.

Read

How much x402 volume is real?

Data

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.

Read

How to audit an x402 service's claimed traffic

Guide

A seller's dashboard is a claim. The chain is a record. Seven checks you can run against a wallet address before believing either.

Read

How to price an endpoint when the buyer is an agent

Guide

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.

Read

HTTP 402 Payment Required, and why it took 30 years to use

Explainer

402 was reserved in the original HTTP spec and left unimplemented for three decades. What changed is that the buyer stopped being a person.

Read

Know Your Agent, and what it can honestly establish

Explainer

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.

Read

llms.txt explained, and what it is actually good for

Explainer

A plain markdown file at your root that tells a model what your site offers. Useful, widely misunderstood, and not a discovery mechanism.

Read

How to make your API discoverable to AI agents

Guide

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.

Read

MCP, A2A and x402: which layer does what

Comparison

Three protocols people treat as competitors sit at three different layers. Getting the stack right removes most of the confusion about agent infrastructure.

Read

How to charge for an MCP server with x402

Guide

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.

Read

Prompt injection when the agent can spend money

Explainer

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.

Read

Publishing an x402 service: the checklist

Guide

Twelve things to get right before an agent can find, evaluate and pay your endpoint, in the order they actually block you.

Read

Rate limiting when your buyer is an agent

Guide

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.

Read

How to read an agentic payments dashboard without being misled

Data

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.

Read

Refunds and failures in x402, and how to handle both

Guide

Settlement is final and there is no chargeback. That makes the failure cases a design decision rather than a support process.

Read

Should you run your own x402 facilitator?

Guide

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.

Read

How to screen a counterparty before paying it

Guide

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.

Read

Which stablecoin should an agent pay with?

Comparison

USDC dominates x402 for a technical reason rather than a commercial one. Knowing what that reason is tells you when another asset is viable.

Read

Testing x402 on a testnet, and what will still break on mainnet

Guide

Testnets cover the happy path well and three specific things badly. Knowing which is the difference between a clean launch and a confusing one.

Read

Wash trading in agentic commerce, and how to spot it

Data

Manufacturing payment volume costs a fraction of a cent and produces numbers indistinguishable from commerce. Five patterns separate the two.

Read

The well-known files an agent looks for on your domain

Explainer

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.

Read

What is a settlement, and why is it the unit that matters?

Explainer

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.

Read

What is an x402 facilitator, and do you need one?

Explainer

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.

Read

What is x402? The HTTP payment protocol AI agents use

Explainer

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.

Read

What proves a transfer was an x402 payment?

Data

The on-chain marker everyone counts predates x402 and is produced by unrelated systems. The actual discriminator is who relayed the transaction.

Read

Which blockchains support x402?

Explainer

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.

Read

Who pays the gas in an x402 payment?

Explainer

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.

Read

Why USDC carries almost all x402 payments

Data

Not because of the issuer. Because it implements the one token function that lets a buyer pay with a signature and no gas token.

Read

Why x402 transaction counts disagree by orders of magnitude

Data

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.

Read

The X-PAYMENT header, and what the server sends back

Explainer

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.

Read

x402 exact vs upto, and when to use each

Comparison

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.

Read

x402 facilitators compared, and how to pick one

Comparison

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.

Read

Who governs x402, and what that means for building on it

Explainer

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.

Read

x402 on Base, and what the record actually shows

Comparison

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.

Read

x402 on Solana, and why the share figures disagree

Comparison

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.

Read

The x402 accepts array, field by field

Explainer

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.

Read

The known attacks on x402, and what fixes each one

Explainer

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.

Read

x402 v1 vs v2, and what to change in your integration

Comparison

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.

Read

x402 vs ACP, and which one your checkout needs

Comparison

ACP structures agent-driven checkout with real merchants on card rails. x402 prices a single HTTP request. The split is retail against infrastructure.

Read

x402 vs AP2, and why you probably need both

Comparison

AP2 proves a person authorised a purchase. x402 moves the money. They solve different halves of the same problem and compose rather than compete.

Read

x402 vs API keys: which should your API offer?

Comparison

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.

Read

x402 vs L402, and what Lightning got right first

Comparison

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.

Read

x402 vs Stripe's Machine Payments Protocol

Comparison

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.

Read

Per-call pricing vs subscriptions for AI products

Comparison

Subscriptions bundle risk and reward predictability. Per-call pricing unbundles both. For a product whose buyer may be software, the bundle stops working.

Read

Reading 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 markdown
  • GET https://roundhouseai.io/llms.txtevery surface on roundhouseai.io
  • GET https://api.roundhouseai.io/v0the index: endpoints and schema
  • GET 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.