Latest

Technology

The new version of x402 drives instant payments on the web

x402 evolves with its version 2 and enables native payments on the internet through stablecoins, APIs and real-time AI agents

The new version of x402 drives instant payments on the web
The new version of x402 drives instant payments on the web

The x402 protocol, inspired by the historic HTTP 402 "Payment Required" code, has added new features in its version 2. Initially driven by Coinbase and now backed by the community and the x402 Foundation, this open standard aims to turn payments into a native layer of the internet. Something essential in a context dominated by APIs, digital services and artificial intelligence agents.

The new capabilities of the x402 protocol

According to a thread published by fabdarice on X, many of the new capabilities of the x402 protocol since its version 2 have gone unnoticed, despite including key advances such as multi-chain compatibility, new payment schemes and extensions that allow integrating authentication, verifiable receipts and gasless transactions. The author notes that these improvements are already ready to be used by developers, consolidating x402 as a practical infrastructure for native payments on the internet and for the growing digital agent economy.

This is x402, Coinbase's new standard for stablecoin and AI payments on the web

x402 proposes a paradigm shift in how online services are monetized. Instead of relying on subscriptions, accounts or API keys, it allows a server to directly demand payment before delivering content or data. When a human client or an autonomous agent makes a request, it receives an HTTP 402 response with clear, machine-actionable payment instructions. After completing the payment, usually via stablecoins, the request is repeated and executed in a matter of milliseconds, without human intervention.

Version 2

With version 2, the protocol significantly expands its capabilities. One of the main new features is its multi-chain compatibility, thanks to the CAIP-2 standard, which allows it to operate on networks such as Ethereum, Solana, Aptos or Stellar, in addition to integrating traditional payment methods. It also supports multiple types of assets, from ERC-20 tokens to stablecoins such as USDC or EURC, and even fiat rails through extensions.

The system incorporates different payment schemes adapted to different use cases. These include fixed per-request payments, consumption-based "pay-as-you-go" models and, soon, continuous streaming payments. On top of this is the possibility of using a facilitator, a component that simplifies the verification and settlement of payments both on blockchain and in traditional systems.

One of the most powerful elements of x402 is its extensions, which allow adding advanced functionalities such as wallet-based authentication, automatic price discovery, generation of verifiable receipts or even gasless transactions. This extensible architecture makes it easier for developers to integrate new chains, assets or custom logic according to their needs.

Agent economy

The relevance of x402 becomes especially evident in the growing "agent economy", where autonomous systems interact and transact with each other. In this context, traditional payment models are limited and x402 offers a more efficient alternative, enabling instant, programmable and frictionless payments between machines.

The current version is already ready for integration, which opens new opportunities for developers seeking to monetize APIs, data and services in an increasingly automated environment.

Covadonga Fernandez

Author

Covadonga Fernandez

Covadonga Fernández is founder and director of the newspaper Observatorio Blockchain. She has worked with various companies developing crypto/blockchain projects, such as Singular DTV, a Switzerland-based platform and a pioneer in decentralizing the film industry, which led her to take part in the 2019 San Sebastián Film Festival. That same year she also took part in the Bern International Film Innovation Festival (Switzerland), with a presentation on linguistic plurality in blockchain. In 2022 she took part in the Acción Cultural Española edition with an article on Metaverse and Culture. In 2017 she wrote the chapter on Blockchain and Journalism in the book: «Blockchain: The Industrial Revolution of the Internet», published by Grupo Planeta. A year earlier, in 2016, she created the first Meetup on Blockchain and Journalism. That same year she also created the Blockchain Media site, to track the decentralization process of the cultural and creative industries. In 2020 she co-organized an event on how blockchain could help the cultural and creative industries, where the money received from sponsors was tokenized and speakers received payment in NFT format. Before founding Blockchain Media and Observatorio Blockchain, Covadonga worked at Grupo Z and the newspaper ABC; she was communications director of the Madrid Chamber of Commerce, a journalism professor at Universidad Carlos III de Madrid and chair of Telemadrid. Winner in the Outreach category at the 2024 Financial Innovation Awards and honored by Alastria at the 2025 Blockchain Awards

The latest
From Huang to Botín, from Zara to Byron: corporate responsibility in global capitalism

Keep reading