Mastercard has opened early access to Agent Pay for Machines, a system that enables AI agents to discover services, agree to terms, and pay for them within human-set spending limits. The company demonstrated a live transaction at Cloudflare’s Connect conference, where Mastercard’s Jorn Lambert showed the system in action.
How Agent Pay for Machines Works
Built on the x402 protocol, Agent Pay for Machines allows autonomous software to handle payments without requiring separate accounts or billing relationships for each service. When an AI agent encounters a paid service that returns a “402 Payment Required” response, it generates a digitally signed payment voucher—a secure promise to pay within its approved limit. The provider verifies the voucher before delivering the service. These interactions occur off-chain at machine speed, and providers can batch vouchers for later redemption.
The system addresses a growing challenge: as AI agents become more capable, they act as economic actors that need to purchase data, AI models, and computing power from multiple providers. Traditional paid services often demand an account, API key, or billing relationship with each one, which breaks down when an agent is selecting services on the fly.
Live Demo Details
In the demonstration, an agent for marketing agency Hype planned a protein-bar campaign on a set budget. It discovered registered providers and executed a two-step plan: social media research from one vendor and campaign images via Cloudflare. The agent completed nine payments to two independent merchants without any separate accounts or invoices.
Behind the scenes, Coinbase’s developer platform supplied the wallet, the Ethereum layer-2 network Base provided on-chain settlement, and BVNK—the stablecoin firm Mastercard acquired in August—handled payment and settlement in fiat or stablecoins through Mastercard’s Global Money Platform.
Development and Rollout
The launch follows end-to-end pilots with Cloudflare, Ant International, AWS, BVNK, and Coinbase. Mastercard is releasing buyer- and seller-side APIs, a toolkit, and a sandbox to developers. The move extends Mastercard’s recent stablecoin and agent initiatives, including the Stablecoin Security risk tool and the BVNK-powered Global Money Platform.


