How do AI agents pay? Card networks, AP2 and x402 compared

By Cleave Protocol

AI agents can pay by three routes today. How each one answers who the agent is and whether the user agreed, from the protocols' own documents.

Watch on YouTube

An AI agent books, buys or calls a paid API. Who pays, and how does the seller know the agent is allowed to? As of December 2026 there are three main routes, each with its own answer: card networks adding agent identity to card payments, the Agent Payments Protocol (AP2) adding signed proof of what the user agreed to, and x402 letting an agent pay on-chain over plain HTTP.

This post explains each from its own documents and shows where they overlap. It ranks none of them. It is general education, not financial advice.

Can AI agents make payments today?

Yes, over two payment rails, cards and on-chain payments, plus a consent layer (AP2) that can run on top of either. They differ on two questions: how the seller knows which agent is paying, and how anyone can later show that the user agreed.

How does the card rail work for agents?

Card networks are extending existing card payments. Visa's Trusted Agent Protocol "provides a standardized, cryptographic method for an AI agent to prove its identity and associated authorization directly to merchants." Its signature is "bound to your domain and the specific operation being performed", so a merchant can tell which action an agent is authorized for.

The card network and the card issuer stay in the loop, and so does the card dispute process. Visa says the protocol's proof of identity and intent helps "minimize chargebacks from unauthorized transactions".

Adoption is still being built. Visa's press release dated 18 November 2026 says its expanded program for merchants, payment providers and acquirers "is launching with more than 140 participants, with additional financial institutions, merchants and enablers expected to join throughout 2027." Participants are testing "agentic network token transactions" and "Trusted Agent Protocol signals".

What is a payment mandate (AP2)?

AP2 focuses on consent. Its site states the principle: "Trust in payments is anchored to deterministic, non-repudiable proof of intent from the user". It does this with mandates, signed records of what the user allowed:

  • An "Open" Checkout Mandate: "Captures the user's constraints and goals for the transaction before a specific cart is finalized for autonomous execution."
  • A "Closed" Checkout Mandate: "Captures the user's (or agent's) authorization for a specific, finalized checkout."

A mandate is consent, not a money rail. AP2's own samples include "Human Not Present Cards" and "Human Not Present x402", so the same mandate idea runs over a card payment or an agent's on-chain payment. As of 2 December 2026, AP2's site links its "v0.2 Release and FIDO Alliance Donation", and says standardization of the specification will continue in FIDO working groups.

How does an agent pay on-chain?

With x402, an agent pays inside an HTTP request. As of December 2026 the specification is at "Protocol Version: 2", with transports that include HTTP, MCP and A2A. On EVM chains, the default payment method for the exact scheme is a signed token authorization: the EVM exact scheme lists EIP-3009 transferWithAuthorization for tokens such as USDC as "Recommended", with Permit2 as the "Universal Fallback".

There is no account at a card network. With EIP-3009, the token contract checks the agent's signature. With Permit2, the canonical Permit2 contract does, through a proxy contract that the specification defines. The x402 on the wire post walks through an agent payment header by header, and the signature that moves USDC explains the EIP-3009 authorization.

x402 vs AP2: rivals or layers?

Layers, by AP2's own design. AP2 is about proving what the user agreed to. An agent payment protocol like x402 is about moving the money. AP2's samples run over cards and over x402. At the governance level the lines blur too: the x402 Foundation's launch announcement dated 14 July 2026, says the agent payment protocol supports "multiple payment types, from traditional cards to stablecoins", and listed Mastercard, American Express and Stripe among its premier members.

Who handles a dispute?

  • Card rail: the card system keeps its dispute and chargeback process. Visa presents its protocol as a way to "minimize chargebacks from unauthorized transactions".
  • AP2: mandates are meant as evidence. The site says AP2 provides "a non-repudiable, cryptographic audit trail for every transaction, aiding in dispute resolution".
  • x402: an on-chain payment has no built-in undo and no third-party dispute process. The x402 specification says the exact scheme "moves a fixed amount once and offers no way to give it back"; a separate auth-capture scheme is for agent payments "which may later need to be undone". In that scheme, voids and refunds are initiated by the seller's server; the paying agent can only take back an uncaptured hold on its own, after the capture deadline passes.

Which one fits which job?

Without ranking them:

  • An agent checking out at a merchant that already takes cards fits the card rail.
  • An agent buying on a user's behalf, where proof of the user's consent matters, fits a mandate on top of either rail.
  • An agent paying another machine per request, such as for an API call, fits an on-chain agent payment like x402.

Where Cleave fits

Cleave's agent gas top-up can be paid this way: an agent pays USDC over x402 on Base, Arbitrum or Polygon to order native gas, signing one USDC transfer authorization.

Quick answers

How do AI agents pay each other?

One route for machine-to-machine payments is an on-chain agent payment protocol such as x402, where the paying agent signs a token authorization inside an HTTP request.

Can AI agents make payments with a card?

Yes. Card networks are adding agent identity to card payments, for example Visa's Trusted Agent Protocol and its merchant program.

What is the difference between x402 and AP2?

AP2 records what the user agreed to. x402 moves the money on-chain when an agent pays. AP2's samples include running over x402 for agent payments.

Is x402 the same as Stripe?

No. x402 is an open agent payment protocol. Stripe is a payments company, listed among the x402 Foundation's premier members in its 14 July 2026 launch announcement.

Are there AI agent payment standards from Visa and Mastercard?

Visa publishes its Trusted Agent Protocol and runs a merchant program for agent payments. Mastercard was listed as a premier member of the x402 Foundation in its 14 July 2026 launch announcement. This post does not describe Mastercard's own agent program, because its details could not be confirmed from a primary source.

Three routes, two questions: who is the agent, and did the user agree?