Launching MoonPay Enterprise: Stablecoin APIs for developers → Learn More

MoonPay
  • Individuals
  • Business
  • Limbă
  • Începe acum
Buy
Buy cryptoUse a card, Apple Pay or Google Pay to buy crypto fast. We also accept bank transfers and wires.
Buy BitcoinBTC
Buy EthereumETH
Buy PolygonPOL
Buy SolanaSOL
Buy DogecoinDOGE
Buy CardanoADA
Buy AvalancheAVAX
Sell
Sell cryptoTurn your crypto into cash. In a flash. Get paid straight to your bank account or Visa card.
Sell BitcoinBTC
Sell EthereumETH
Sell USDCUSDC
Sell SolanaSOL
Sell CardanoADA
Sell DogecoinDOGE
Sell AvalancheAVAX
Trade
Trade cryptoTrade between tokens, even if they’re on different chains (we make bridging seamless too).
Trade EthereumETH
Trade USDCUSDC
Trade AaveAAVE
Trade ChainlinkLINK
Trade Wrapped BitcoinWBTC
Trade DaiDAI
Trade CompoundCOMP
Company
NewsroomNewsroomMediaMediaCareersCareersChangelogChangelogMoonPay DiscoverMoonPay DiscoverNew
Crypto Prices
Bitcoin PriceEthereum PriceSolana PriceDogecoin PriceCardano PriceXRP PriceBNB PriceAll Crypto Prices
Learn
What is Blockchain?What is Blockchain?What are NFTs?What are NFTs?What is Bitcoin mining?What is Bitcoin mining?What is DeFi?What is DeFi?What is crypto staking?What is crypto staking?All Learn Articles
Support
DocumentationDocumentationHelp CenterHelp CenterContact UsContact UsStatusStatus
  • Limbă
  • All rights reserved. MoonPay Europe B.V. is an AFM-licensed crypto-asset service provider under the EU MiCA Regulation (Reference Number: 41000002).

    Romanian
    • Personal
    • Buy Crypto
    • Sell Crypto
    • Trade Crypto
    • Learn about Crypto
    • Crypto Price
    • MoonAgentsNew!
    • Business
    • Ramps
    • Virtual AccountsNew!
    • MoonPay Discover
    • MoonPay Commerce
    • MoonPay InstitutionalNew!
    • Company
    • About Us
    • CareersWe're hiring
    • Newsroom
    • Media
    • Changelog
    • Support
    • API Docs
    • Help Center
    • Contact Us
    • Status
    • Security
    • Buy
    • Buy Bitcoin
    • Buy Ethereum
    • Buy Solana
    • Buy Cardano
    • Sell
    • Sell Bitcoin
    • Sell Ethereum
    • Sell XRP
    • Sell Solana
    • Trade
    • Trade Ethereum
    • Trade SOL
    • Trade Aave
    • Trade Chainlink
    • Crypto Prices
    • Bitcoin Price
    • Ethereum Price
    • Dogecoin Price
    • XRP Price
    • Cardano Price
    • Learn
    • What is Blockchain?
    • What are NFTs?
    • What is Bitcoin mining?
    • What is DeFi?
    • What is crypto staking?
    • Legal
    • Legal Page
    • Pricing
    • Licenses
    • Privacy Policy
    • Cookie Policy
    • Terms of Use
    • Risk Warning
    • Complaints
    Romanian

    All rights reserved. MoonPay Europe B.V. is an AFM-licensed crypto-asset service provider under the EU MiCA Regulation (Reference Number: 41000002).

    Back to all articles

    x402

    x402 is an open standard that lets AI agents pay autonomously.

    Team MoonPay

    By Team MoonPay

    Published on Aug 14, 2026

    Last modified on Aug 14, 2026

    x402 is an open standard that lets AI agents pay autonomously.

    Software is starting to pay other software directly: one program requesting data, API access, or a paid resource from another, with no person involved at all. x402 is an open standard built to let that happen, using a crypto wallet in place of a credit card.

    x402Protocol-Asset01-Rounded-1.png

    It allows web services, APIs, and AI agents to settle payments instantly with stablecoins using a single request.

    How it works

    x402Protocol-Asset03-Rounded-1.webp
    1. An agent requests something that costs money, like a product, a dataset, or an API call
    2. The server replies with a 402 status code and the payment details
    3. The agent's wallet signs the payment and sends it back with the request
    4. The payment gets verified and settled onchain
    5. The server delivers the resource

    Why the name "402"

    x402Protocol-Asset02-Rounded-1.webp

    The mechanism repurposes a piece of the web that's existed since 1991 but never had a job. HTTP 402 was set aside for "Payment Required," the same family as the 404 code used for "page not found," but for over 30 years nothing defined what was supposed to happen once that code appeared. 

    x402 fills in that gap: it specifies exactly what a server includes when it asks for payment, and exactly what an agent must send back to complete it.  

    The bigger picture

    Because x402 is an open standard, any website, wallet, or service can implement it without a license or a gatekeeper controlling access. It’s part of a broader shift toward letting AI agents handle payments on their own, from everyday purchases to machine-to-machine transactions.

    x402Protocol-Asset04-Rounded-1.webp

    For weekly quick reads on crypto topics, subscribe to the MoonPay Minute.