Fintech & Ecommerce

Mastercard Opens Early Access to Agent Pay for Machines for AI Agent Payments

Mastercard has begun the phased rollout of its payment solution, with Agent Pay for Machines now in early access.

Mastercard Opens Early Access to Agent Pay for Machines for AI Agent Payments

The company has shown how AI agents can pay for digital services while remaining under the control of people and businesses. The solution is based on the open x402 protocol, which Coinbase introduced in May 2025 for stablecoin payments directly from a user’s wallet to a web service. However, Mastercard’s implementation differs significantly from the original idea.

Instead of atomic, final, and instant settlements for each request, Mastercard adds the structure familiar to card networks: a credential registry, a payment guarantee, and batch settlement. In effect, the company inserts itself into the process as a trusted intermediary.

Skeptics note that the “trust layer” effectively recreates the traditional business model of a card network inside a protocol that was originally designed to make such a layer unnecessary.

In addition, there are many stablecoins, some of which may be unacceptable to merchants. Currency mismatches also arise: a merchant wants to receive dollar stablecoins, while the company behind the agent plans to pay from a sterling bank account. In such cases, an intermediary is needed between the agent’s funding source and the merchant’s preferred rail, one that also ensures the credibility of the payment promise.

AI agents are becoming increasingly capable and are starting to interact with one another. Data from one provider, a model from another, computing power from a third. In other words, agents are turning into economic actors. Today, paying for digital services typically requires a separate account, API key, prepaid credits, or a billing relationship with each provider. This works when using one or two services but becomes more complicated when an agent selects different services during a task and pays only for what is actually used. Additional trust questions also arise: who gave the agent the right to spend money, in what amount, on what exactly, and to whom.

Mastercard positions Agent Pay for Machines as the answer to these questions. The solution is built on the x402 protocol, which allows digital services to request payment online, and connects it with the trust, security, and reach of the Mastercard network. The operating principle is described by the formula: authorize once, transact many times, guarantee payment now, settle later.

A business assigns an agent a task and a spending limit. When the agent encounters a paid service, the service responds with the code “402 Payment Required.” The agent creates a digitally signed payment voucher within the approved limit. The provider verifies the voucher, delivers the service, and the work continues. All of these interactions take place off-chain at machine speed. Providers can accumulate vouchers and redeem them later. Agents continue working and paying for what they need without receiving unlimited authority or setting up separate billing relationships with each service.

At the Cloudflare Connect conference, Mastercard demonstrated the solution using the marketing agency Hype, which already uses AI agents in its campaign work. In the pilot scenario, Hype assigns the agent a task and allocates a budget: prepare a sample campaign for a protein bar launch. The agent, running on a platform such as Amazon Bedrock AgentCore, finds registered Agent Pay for Machines providers and proposes a two-step plan: conduct social media research via AIsa and create campaign images through Cloudflare AI Gateway.

Hype approves the funding, limiting the agent to the specific task and budget. When payment is required, the service responds through Cloudflare Monetization Gateway with the code “402 Payment Required.” The agent signs a voucher, the seller verifies it, and the work continues. First comes the research from AIsa, then eight campaign images from Cloudflare.

The result is nine payments to two independent merchants within a single approved budget, without separate accounts, API keys, or invoices. The agent pays only for what is actually used, while Hype remains in control.

Behind the scenes, Coinbase Developer Platform provides the wallet infrastructure. The Base network handles on-chain settlement, and BVNK acts as the agent’s wallet, using the Mastercard Global Money Platform to process payments and settlements on both sides in fiat or stablecoins.

Olesia Kramarenko

Olesia Kramarenko

36 Posts

https://payspacemagazine.com/author/olesia/

Olesia Kramarenko is an editor with more than 10 years of experience in journalism. She writes about cryptocurrencies, fintech, and blockchain technology. So far, she has written over 2,000 analytical articles and educational materials. Her interest in cryptocurrencies and digital finance grew in 2016, and these topics have been an important part of her work ever since.