Agentic Payments · Builder's Guide · 2026

HTTP 402 sat empty for 28 years. Now $24M moves through it every month.

The complete builder's map of agentic payment protocols — x402, ACP, UCP, ERC-8004 — and what you can actually implement today.

By Patrick · March 2026 · 12 min read
75.4M Transactions (30d)
$24.2M Volume (30d)
94K Unique buyers

In 1997, the HTTP specification reserved status code 402 for "Payment Required." The internet got 404 (not found), 500 (server error), 403 (forbidden) — everything except the one that was supposed to give the web a native payment layer.

402 sat empty for 28 years.

AI agents changed the equation. When software makes decisions at machine speed, you can't redirect it to a checkout page. You can't expect it to fill out a form, solve a CAPTCHA, or wait for an OTP. Agents need payments to work at the protocol level.

That infrastructure is being built right now. And unlike most "emerging technology" announcements, the numbers above are real — measured on x402.org over the last 30 days.

This guide maps what's live, what's coming, and what you can actually build today.

What's in this guide

  1. The gap the internet was always missing
  2. The protocol map — four layers, four problems
  3. Trust first: ERC-8004 and Visa TAP
  4. Commerce protocols: ACP and UCP
  5. x402: the one you can build with today
  6. B2B: the next frontier
  7. The full implementation guide

The gap the internet was always missing

The internet was designed to move information. Commerce was bolted on top through a series of workarounds: your browser talks HTTPS to the merchant, who talks to a payment gateway, who talks to Visa or ACH, who talks to a bank. The whole chain was built for humans at keyboards.

That's why Simon Taylor's framing in FinTech Brain Food is so sharp: "Agents are a new actor." A software agent making autonomous purchasing decisions doesn't fit anywhere in this stack. It's the wrong shape for every existing piece of payment infrastructure.

The protocols being built today aren't incremental improvements to the old stack. They're building the native payment layer the internet never shipped.

The protocol map — four layers, four problems

The confusing part about agentic payments is that there are five or six protocols all getting press at the same time. They're not all competing. Most of them are solving completely different problems.

Here's the map:

Layer Protocol Creator Problem it solves Status
Trust ERC-8004 MetaMask / Google / Coinbase On-chain identity for agents — who is this agent? Draft EIP
Trust Visa TAP Visa Verifiable signatures so merchants trust agents, not bots In dev
Commerce ACP OpenAI / Stripe Agent buys goods/services from merchants (cart + payment token) Live in ChatGPT
Commerce UCP Google / Shopify Merchant capability discovery + agent checkout via Google Coming soon
Agent-native x402 Open standard (Coinbase contrib.) Agent pays agent for API access, compute, data — at machine speed Live now
B2B AP2 Emerging coalition Agent-to-agent invoice settlement, B2B payment flows Emerging
Key insight: ACP and x402 are often discussed as if they're competing. They're not. ACP is for agents buying retail goods (Walmart, Etsy, Instacart). x402 is for agents paying APIs and services at machine speed, in microseconds. Different use cases, different infrastructure.

Trust first: before any payment, identity

Before your agent can pay for anything, the party it's paying needs to trust it. This is the layer that gets skipped in most explainers, and it's the one that will bite you in production.

Merchants have spent years blocking bots. Now they need to let the right bots through. Two protocols are emerging to solve this:

ERC-8004 (Trustless Agents)

An Ethereum Improvement Proposal backed by MetaMask, Google, and Coinbase. Creates on-chain registries for agent identity, reputation, and validation. An agent's registration file can list MCP endpoints, A2A agent cards, ENS names, and DIDs together. It's designed to work with existing communication protocols — not replace them.

Still a draft EIP, but the backing organizations give it significant credibility. Worth understanding now before it becomes a compliance requirement.

Visa TAP (Trusted Agent Protocol)

Visa's approach: verifiable cryptographic signatures that prove an agent is acting on behalf of a legitimate cardholder with real commerce intent — not a scraper, not a fraud bot. In development; expect to see this required by major merchants as agentic commerce scales.

Commerce protocols: ACP and UCP

These are for the "agent buys something on your behalf" use case — like asking your AI assistant to reorder office supplies or book a flight.

ACP (Agentic Commerce Protocol) — OpenAI / Stripe

Already live in ChatGPT with Walmart, Etsy, and Instacart. The flow: agent creates a cart, generates a payment token, passes it to the payment processor. Clean, transactional, familiar to anyone who's used Stripe.

Reality check: ACP requires a formal partnership with OpenAI and Stripe to implement on the merchant side. Not something a solo builder can tap into without a commercial agreement.

UCP (Universal Commerce Protocol) — Google / Shopify

Google's answer: merchants publish "capability manifests" that agents discover and negotiate with. Think of it as DNS for commerce — agents find merchants and learn what they can do. Coming to Google Search and Gemini. Shopify's involvement suggests strong merchant adoption when it ships.

x402: the one you can build with today

This is the protocol that matters most for builders right now. No corporate partnership required. No commercial agreement. Open standard. Works today.

The concept is elegant: implement the HTTP status code that was reserved in 1997 but never shipped. When an agent makes an API request and needs to pay for it, the server responds with a 402 — and includes payment details in the response headers. The agent pays in USDC on Base, includes a payment proof in the next request, and gets access.

The flow:

  1. Agent sends HTTP request to a paid API
  2. Server returns: 402 Payment Required with USDC amount + Base wallet address in headers
  3. Agent pays USDC on Base (near-zero gas on Base L2)
  4. Agent retries request with transaction hash as proof
  5. Server verifies on-chain, grants access

No accounts. No API keys. No signups. Pure protocol.

# x402 payment flow — conceptual implementation
import httpx

def fetch_with_payment(url: str, agent_wallet):
    # First request — may return 402
    response = httpx.get(url)
    
    if response.status_code == 402:
        # Parse payment details from headers
        amount_usdc = float(response.headers.get("X-Payment-Amount"))
        recipient = response.headers.get("X-Payment-Address")
        
        # Agent pays on-chain (Base network, USDC)
        tx_hash = agent_wallet.pay_usdc(
            to=recipient,
            amount=amount_usdc,
            network="base"
        )
        
        # Retry with payment proof
        response = httpx.get(url, headers={
            "X-Payment-Proof": tx_hash
        })
    
    return response

The real-world numbers as of March 2026: 75.41M transactions in 30 days, $24.24M volume, 94,060 unique buyers, 22,000 sellers. This is live, working infrastructure — not a whitepaper.

Why x402 first for solo builders: ACP requires an OpenAI/Stripe partnership. UCP requires Google's ecosystem. ERC-8004 is still a draft EIP. x402 is an open standard anyone can implement right now. Start here.

B2B: the next wave

B2B agentic payments — where one agent pays another for services at invoice scale — are the next frontier. The emerging AP2 standard addresses this, but it's early. The interesting play here: enterprises that automate entire service workflows between AI agents will need a way to settle those transactions. B2B agentic payments could be a significantly larger market than consumer-facing agentic commerce.

The full implementation guide

This free guide maps the protocols. The full Agentic Payments Field Guide covers what actually happens when you implement them — including what blocks you, what the error messages mean, and how to make your agent both a buyer and a seller.

It also includes Hiro's field notes: documented observations from an AI agent navigating real payment infrastructure with $10 of real capital — what the APIs actually return, where the friction is, and what the on-chain mechanics look like from an agent's perspective.

The Agentic Payments Field Guide

x402 setup · ACP overview · ERC-8004 identity · Hiro's real-world field notes · 2026-2027 roadmap

Pre-order now at $29. Ships March 2026. Price goes to $39 at launch.

Pre-order — $29

One-time purchase · No subscription · PDF + field notes delivered by email

Price increases to $39 at launch

Questions? The Library subscription includes access to all our agentic payments content as it develops. See what's included →