The Ledger
Mastercard Opens Agent-Payment APIs to Developers
Mastercard opened early access to buyer- and seller-side APIs for Agent Pay for Machines on October 20. The system lets AI agents pay for digital services within budgets and permissions set by businesses.

“We want developers to test Agent Pay for Machines, try different use cases and tell us what would make it more useful.”
Mastercard
Early access follows a live demonstration
Mastercard opened early access to its Agent Pay for Machines buyer- and seller-side APIs on October 20, giving developers a toolkit, sandbox and documentation to build and test agent-to-agent payments. The company announced the release at Cloudflare Connect, where it demonstrated AI agents buying digital services on behalf of businesses under preset spending limits and permissions.
The system targets services that an agent might select as a task unfolds: data from one provider, an AI model from another or computing power from a third. Mastercard says existing paid services often require separate accounts, API keys, prepaid credits or billing relationships. Its approach connects payment requests to a defined authorization, rather than giving an agent unrestricted spending authority.
x402 requests payment; signed vouchers authorize it
Agent Pay for Machines builds on x402, an open protocol for requesting payment online. In Mastercard’s demonstration, Hype assigns an AI agent a sample task—planning a protein-bar launch campaign—and a budget. The agent proposes social-media research from AIsa and campaign images through Cloudflare AI Gateway; Hype approves the funding before the agent begins.
When a service requires payment, Cloudflare Monetization Gateway responds with “402 Payment Required.” The agent then signs a payment voucher, which the seller verifies before providing the service. Mastercard’s description says vouchers can be combined and redeemed later.
The demo records nine payments across two independent merchants: one for research and eight for images. Mastercard says the agent pays only for what it uses, with no separate accounts, API keys or invoices for those providers in the demonstration.
Coinbase, Base and BVNK handle the payment path
The release names Cloudflare, Ant International, AIsa, Base, BVNK, Coinbase and Hype as participants in end-to-end pilots. In the demonstration, Coinbase Developer Platform supplies wallet infrastructure to fund the agent, while Base provides the on-chain settlement network. BVNK acts as the agent wallet and uses Mastercard Global Money Platform to handle payment and settlement on both sides, in fiat or stablecoins.
Mastercard says sellers can receive payment in a preferred currency, token or rail. The company describes the same model as applicable to AI models, data, computing power, APIs and other digital services. It does not give pricing or specific enrollment terms for the early-access program in the announcement.
Businesses set the limits
The central control is the business-defined task, permission set and spending cap. Mastercard says the agent transacts within those boundaries, while the provider checks the signed voucher before delivering a service. That design puts authorization and service delivery into the payment flow, rather than requiring the agent to maintain a separate account with each provider.
For developers, the immediate offer is the first version of both buyer- and seller-side APIs, plus a toolkit, sandbox and documentation. Mastercard says customer and partner feedback will shape the program’s roadmap; the demonstration’s nine payments show the mechanics it is asking builders to test.
Sources
- Original source Mastercard mastercard.com