Tobias Reithmeier

Blog

When Your AI Agent Pays: Money on Two Rails

Diagram: an AI agent with a signed mandate pays via two paths. Card rail: through agent tokens from Visa, Mastercard and Stripe at a merchant, without ever seeing the card details. Stablecoin rail: via the x402 protocol (HTTP 402) the agent pays for API calls in USDC, cent amounts within seconds
Two rails for paying agents: card tokens for shopping, stablecoins for machine-to-machine (own schematic illustration)

Part 3 of the series "Humans, Agents, Mandates: The Web Learns Identity". Part 1 asked who owns identity; part 2 separated personhood credentials from agent mandates. The series closes with part 4 (When Your Agent Represents You).

My agent finds a cheaper mobile plan and signs up. It books the hotel, renews the domain, orders the spare part. Every one of these sentences rightly triggers a reflex. Wait, with whose money, with whose permission, and who is liable when it goes wrong? Because money forces these questions, payments are the first field where the identity and mandate concepts of this series become production reality. They do so on two separate rails that could hardly be more different, the card networks and the crypto world.

Rail 1: the card networks retool

Visa, Mastercard and Stripe have been racing through 2025 and 2026 to build their own agent infrastructure. The building blocks look similar:

  • Mastercard Agent Pay, announced in April 2025, lets verified agents pay with "Agentic Tokens". These are single-purpose stand-ins for the real card, technically an extension of proven tokenization. June 2026 brought the follow-up "Agent Pay for Machines" for continuously running autonomous systems.
  • Visa Intelligent Commerce pursues the same goal and adds the Trusted Agent Protocol: cryptographically verify good agents, block malicious bots. The first secured agent transactions with partners are complete, with mainstream rollout targeted for 2026.
  • Stripe delivers the developer side: Shared Payment Tokens let an agent pay with the customer's permission without ever seeing the card details. They can now be connected to Agent Pay, Intelligent Commerce and even buy-now-pay-later providers.

The most interesting piece sits beneath the brand names, though. It is the Agent Payments Protocol (AP2), originally proposed by Google and since handed over to the FIDO Alliance. AP2 defines vendor-neutral "mandates": cryptographically signed artifacts proving that a user authorized their agent to spend within specific limits. Anyone who read part 2 of this series will recognize the digital mandate, only in production rather than in a concept paper. With more than 60 partners from Mastercard, Visa and Stripe to PayPal, Adyen and Coinbase, the industry aligned on this format remarkably fast.

Rail 2: crypto finds its use case

After years of crypto searching for its purpose, something happened in parallel that feels almost ironic. The technology has found a tangible use case as a payment rail for machines. The flagship is x402 by Coinbase, an open standard that finally breathes life into HTTP status code 402 "Payment Required", reserved in the web standard since 1997 but never used. It works like this: an agent calls a paid API, receives a 402 response with payment instructions, signs a stablecoin payment (usually USDC) and gets the data, within seconds, no account, no credit card, no login.

The numbers are no longer rounding errors. By spring 2026, roughly 69,000 active agents had processed more than 165 million x402 transactions. Cloudflare co-founded the x402 Foundation and built the protocol into its Workers platform, and Stripe, of all companies the card rail, has been settling USDC payments through it since February 2026. Nobody uses cards here because this is about micropayments, often fractions of a cent per API call. For card networks with their fixed fees that is structurally uneconomical; for a signed on-chain payment it is the normal case. There is a counterpoint, though. CoinDesk notes that organic demand from the agent economy still lags the infrastructure build-out. The rails are laid, but how many trains will run is still open.

Not either-or: the split stack

You might expect a holy war of cards versus crypto. In reality the market is sorting itself along a much more sober line: card rails for consumer shopping (buyer protection, chargebacks, familiar liability rules), stablecoins for machine-to-machine (speed, micro amounts, no account opening required). The camps are already interleaving, too. Mastercard Agent Pay's partner list features Coinbase, the Solana Foundation, Polygon and Ripple alongside classic payment providers.

Behind this sits a simple fact. An agent cannot open a bank account and cannot receive a one-time SMS code. A wallet with signable keys is the natural form of identity and money for software. What wins here is crypto as a toolbox, not as an ideology: key pairs, signatures and stablecoins simply are the primitives a world of autonomous agents needs.

Interim conclusion: three layers in place

That puts three layers in place. Part 1: identity must belong to the person, not the platform, and the Fediverse, Berners-Lee's Solid and the EUDI wallet are building that foundation out of key pairs and wallets. Part 2: on this foundation, two kinds of credentials emerge, personhood proofs for humans and signed mandates for their agents. Part 3: payments are the first industry to implement exactly this model, with card tokens for shopping and stablecoin payments for the machine world.

The most exciting open question is how the strands connect. Once the state-issued EUDI wallet sits on phones from 2027 and AP2 mandates become the industry standard, an officially anchored agent mandate ("this agent provably acts for this person, within these limits") becomes a matter of regulatory drafting. One layer is still missing, though, and it is the most personal one: the agent that does more than pay and represents you online by writing emails, negotiating and appearing in your name. Why today's browser agents are the wrong path for that, and what real representation requires, is the subject of part 4 on September 12.

Sources