TheVortiq
Inteligencia Artificial

x402: The protocol that allows AI agents to pay like humans

The Linux Foundation launches an open standard for machine-to-machine payments, backed by AWS, Google, Visa, and Stripe

July 21, 2026 · 4 min read

Contactless payment being made with mobile phones.

TL;DR: The Linux Foundation has launched the x402 Foundation to govern the x402 payment protocol, which allows AI agents and APIs to make payments directly in HTTP requests. With 40 founding members including AWS, Google, Visa, and Stripe, the standard aims to fill a gap in machine-to-machine commerce.

What happened?

The Linux Foundation has announced the creation of the x402 Foundation, an organization that will govern the x402 payment protocol, originally developed by Coinbase. This open standard allows artificial intelligence agents, APIs, and applications to make payments as part of standard HTTP requests, eliminating the need for separate billing systems. The protocol is based on the HTTP 402 'Payment Required' status code, which had remained virtually unused since its initial definition in 1998 as part of the HTTP/1.1 protocol, originally intended for digital payments that never materialized.

Forty organizations have joined the foundation, including Amazon Web Services, Google, Visa, Mastercard, Stripe, American Express, Cloudflare, Coinbase, Fiserv, Ripple, and Shopify. According to the Linux Foundation, this broad industry representation ensures the protocol is neutral, secure, and adaptable to multiple payment methods, from traditional cards to stablecoins. The announcement comes after the Linux Foundation revealed plans for the project in April 2025, according to InfoWorld.

Why is it important?

The rise of AI agents is creating a new automated economy. These agents perform tasks such as calling APIs, accessing third-party services, and completing actions on behalf of users. However, until now, they lacked a native and secure method for making payments. The x402 protocol fills that gap, enabling automatic transactions without human intervention. Jim Zemlin, CEO of the Linux Foundation, noted that AI agents and automated systems are becoming active participants in the global economy but lacked a native payment layer. With x402, an open standard is established that avoids vendor lock-in and fosters interoperability.

This move recalls the launch of the OpenAPI Initiative in 2015, which standardized API specifications and accelerated their adoption. Similarly, x402 could catalyze agent-to-agent commerce, a market that Gartner predicts could represent 30% of digital transactions by 2028. The inclusion of giants like Visa and Stripe suggests the protocol could integrate with existing financial infrastructure, speeding up adoption. However, challenges remain: security in automated transactions, fraud prevention, and regulation of cross-border payments with crypto assets.

What consequences will it have?

The protocol has the potential to revolutionize several sectors:

  • API monetization: Developers will be able to charge per use instead of fixed subscriptions, facilitating pay-per-consumption models. This could displace platforms like Stripe Connect or AWS Marketplace, which currently dominate API billing.
  • Automated commerce: AI agents will be able to contract cloud services, purchase data, or access premium content autonomously. For example, an AI agent could pay for queries to a weather data API without human intervention, optimizing costs in real time.
  • New business models: Markets will emerge where machines negotiate with each other, from buying bandwidth to acquiring data usage rights. Companies like Ripple are already exploring cross-border payments with stablecoins, suggesting that x402 could facilitate international microtransactions with reduced costs.

The participation of Amazon Web Services and Google indicates that cloud providers see x402 as an opportunity to monetize their services through agents. On the other hand, Visa and Mastercard seek to maintain their relevance in an ecosystem where automated payments could bypass traditional networks. According to InfoWorld, the foundation focuses on filling a gap in agent-to-agent commerce, a segment that Forrester Research predicts will grow 40% annually until 2030.

However, not everything is advantageous. Financial regulators, such as the SEC in the US or ESMA in Europe, could require automated transactions to comply with KYC/AML rules, adding complexity. Additionally, reliance on stablecoins like USDC (backed by Coinbase and Circle) introduces risks of volatility or asset freezing, as seen in the collapse of TerraUSD in 2022.

What should readers know?

For developers and businesses, x402 represents an opportunity to simplify payment integration into AI workflows. The protocol is open and being developed collaboratively, reducing risks of technological dependency. Interested parties can consult the documentation on the Linux Foundation website and join working groups. Moreover, compatibility with multiple payment methods (cards, stablecoins, etc.) allows choosing the most suitable option based on the use case.

A key aspect is that the protocol uses the HTTP 402 status code, which until now was a forgotten standard. Reviving it for automated payments is a smart move, as it leverages existing web infrastructure without needing new protocols. However, developers must consider latency: blockchain transactions can take seconds or minutes, which may not be viable for high-frequency APIs. Solutions like Lightning Network for Bitcoin or layer-2 networks for Ethereum could mitigate this.

“By bringing together leading companies in finance, technology, and beyond, we are ensuring that the internet's payment layer remains neutral, highly interoperable, and ready for digital commerce,” said Jim Zemlin.

In summary, x402 could be the standard that allows AI agents to fully participate in the digital economy, opening a new chapter in transaction automation. However, its success will depend on developer adoption, regulatory clarity, and the ability to scale without compromising security. The history of open standards (like OAuth or OpenID) shows that collaboration among large companies can accelerate adoption, but it can also generate tensions due to conflicting interests. The coming months will be crucial to see if x402 becomes the de facto standard or remains relegated to a niche.

Keep reading