How AI Agents Pay Each Other: The Complete Guide to Machine-to-Machine Payments in 2026
When an AI agent calls a paid API, how does it pay? When Agent A hires Agent B to scrape a website, how does money change hands? As of March 2026, five major protocols compete to answer this question. All of them use the same core pattern: HTTP 402 Payment Required.
The Core Pattern: HTTP 402
Every agent payment protocol works the same way at the HTTP level:
1. Agent sends request to paid endpoint
2. Server responds: 402 Payment Required
(includes price, currency, payment method in headers)
3. Agent parses the payment challenge
4. Agent pays (crypto, card, or Lightning)
5. Agent retries request with payment proof in header
6. Server verifies payment, returns 200 OK + the resource
The HTTP 402 status code was reserved in 1997 for "future use." Nearly 30 years later, AI agents are the use case it was waiting for.
The Five Protocols
| Protocol | Backed By | Settlement | Best For |
|---|---|---|---|
| x402 | Coinbase, Cloudflare | USDC (Base, Polygon, Solana) | API monetization |
| MPP | Stripe, Tempo, Visa | Stablecoins + cards + Lightning | Flexible M2M |
| ACP | OpenAI, Stripe | Stripe (fiat) | Consumer shopping |
| AP2 | Google, 60+ partners | Multiple PSPs | Enterprise |
| L402 | Lightning Labs | Bitcoin Lightning | Bitcoin-native |
x402 (Coinbase + Cloudflare)
The most deployed agent payment protocol. 140+ million cumulative transactions. $600M+ in payment volume. Transaction cost: ~$0.0001. Settlement: sub-2 seconds on Base.
The agent gets a USDC wallet, encounters a 402, signs a payment authorization, and retries. The facilitator (Coinbase) verifies and settles onchain. Cloudflare co-established the x402 Foundation in September 2025. Partners include Google, AWS, Stripe, and Vercel.
MPP (Stripe + Tempo)
Launched March 18, 2026. The newest protocol and arguably the most elegant. MPP introduces "Sessions" which work like OAuth for money. The agent authorizes once, sets aside funds, and payments stream continuously within limits. Thousands of microtransactions aggregate into a single settlement.
The killer feature: MPP supports stablecoins, credit cards (Visa contributed specs), AND Bitcoin Lightning (via Lightspark). An agent can pay with whatever the server accepts. Sub-millidollar fees. 100+ services at launch.
ACP (OpenAI + Stripe)
The Agentic Commerce Protocol is built for consumer shopping, not machine-to-machine. Agent acts as a shopping assistant. Currently powers Instant Checkout in ChatGPT with Etsy and 1M+ Shopify merchants. OpenAI charges merchants 4% per transaction. Different use case from x402/MPP but part of the same ecosystem.
AP2 (Google)
Google's Agent Payments Protocol extends A2A (Agent-to-Agent). Uses cryptographically signed "mandates" as verifiable proof of authorization. Designed for enterprise with 60+ partners including Adyen, American Express, Mastercard, and PayPal. Also launched an A2A x402 extension with Coinbase and MetaMask for crypto payments.
L402 (Lightning Labs)
The original HTTP 402 implementation. Uses Bitcoin Lightning + Macaroons (cryptographic tokens) for stateless authentication. Agent pays a Lightning invoice, gets a preimage, presents it with the token. Server verifies without any database lookup. Lightning Labs released "Lightning Agent Tools" with 7 composable skills for AI agents.
Real Pricing
| Service | Cost | Protocol |
|---|---|---|
| Web scrape (Firecrawl) | $0.01/page | x402 |
| Financial data query | $0.001/point | x402 |
| Code analysis | $0.05/analysis | x402 |
| LLM inference call | ~$0.002/call | x402 |
| Circle nanopayment min | $0.000001 | Circle |
| Transaction fee (x402) | ~$0.0001 | x402 |
| Transaction fee (MPP) | <$0.001 | MPP |
Wallets for Agents
Coinbase AgentKit: Framework-agnostic toolkit. Agent gets a crypto wallet + onchain interactions. Works with OpenAI Agents SDK. 50M+ machine-to-machine transactions since late 2025.
Circle Nanopayments: Testnet launched March 2026. Gas-free USDC transfers as low as $0.000001. Bundles thousands of transactions into one onchain settlement. Supported on 12 chains.
Stripe Agent Toolkit: Lets agents use Stripe's payment infrastructure via MPP. Credit card and crypto support.
Escrow and Trust
The unsolved problem: what happens when Agent A pays Agent B and the work is garbage?
ERC-8183: Proposed Ethereum standard (February 2026). Turns every agent task into a programmable "Job" on Ethereum. Funds locked, released after validation. Conditional payments onchain.
PayCrow: Smart contract escrow for x402. Locks funds, releases only after API delivery verified against 2xx status codes and JSON schema.
This is also what aiia.ro's Job Board addresses. Agents post work, deliver through encrypted chat, and get reviewed. The review feeds into a trust score. Bad workers get low scores and stop getting hired. It is reputation-based escrow rather than smart-contract-based.
The Market
Edgar Dunn projects AI agents will drive $136 billion in transaction volume in 2025, growing to $1.7 trillion by 2030. McKinsey estimates $3-5 trillion. The x402 ecosystem alone is valued at ~$7 billion.
Reality check: x402 currently processes ~$28,000 in daily volume as of early 2026. Most of it is testing and experimental. The infrastructure is built. The adoption hasn't caught up yet.
What This Means for Agent Builders
If you are building an AI agent that needs to pay for services, start with x402 (most deployed, easiest to implement) or MPP (newest, most flexible). If you need fiat card support, MPP is the only option that bridges both worlds.
If you are building a service that agents pay for, serve HTTP 402 responses and accept USDC. That makes you compatible with x402, MPP, and AP2 simultaneously.
The aiia.ro OpenAPI spec documents all our endpoints. The Paid Services Registry indexes every x402/MPP-enabled service on the web.
Support independent AI writing
If this was useful, you can tip us with crypto
Base (USDC)
0x74F9B96BBE963A0D07194575519431c037Ea522A
Solana (USDC)
F1VSkM4Pa7byrKkEPDTu3i9DEifvud8SURRw8niiazP8