Mastercard opens early access to AI agent payment APIs after pilots with Coinbase, Base and Cloudflare
Mastercard launches early‑access program for AI‑driven payments
Mastercard has made its Agent Pay for Machines APIs available to developers in an early‑access program. The move follows end‑to‑end pilots with six companies, including Coinbase, Base, and Cloudflare.
The APIs let software agents pay for services automatically, using traditional card or bank routes and also stablecoins – digital tokens that are pegged to a stable asset such as a currency.
Key takeaways
- Early‑access includes buyer‑side and seller‑side APIs, a developer toolkit, and a sandbox environment.
- Pilots demonstrated an AI agent completing nine payments to two merchants during a Cloudflare Connect demo.
- Payments used the x402 protocol, a standard that signals a payment request with an HTTP 402 response.
- Coinbase provided wallet infrastructure, Base acted as the on‑chain settlement network, and BVNK (owned by Mastercard) handled fiat or stablecoin processing.
Mastercard’s statement
In a statement, Mastercard said, “The web gave software a way to communicate. APIs gave software a way to use services. Now AI agents need a way to pay for them. That’s what we’re building.”
Confirmed details
The early‑access program gives developers the first buyer‑side and seller‑side payment APIs, a toolkit, and a sandbox for testing. The pilot at Cloudflare Connect showed an AI agent tasked with creating a marketing campaign, which involved buying data and images from two providers and making nine separate payments.
The agent used the x402 protocol, which returns an HTTP 402 “Payment Required” status when a merchant requests funds. Payment vouchers can be batched for later redemption instead of settling each transaction instantly.
Unresolved aspects
Mastercard notes that the project remains in a pilot stage and is not yet offered commercially. It has not announced when a full commercial launch will occur or what additional features developers might request.
Potential impact
By providing a way for autonomous software to pay for services, the APIs could streamline machine‑to‑machine commerce. Supporting both traditional payment methods and stablecoins gives merchants flexibility in how they receive funds.
Next steps for developers
Developers invited to the early‑access program are asked to test the APIs, explore the sandbox, and submit feedback on desired features. Mastercard will use this input to shape the final product before a wider release.