X402 Payment Demo
Experience
HTTP 402 — Machine-Native Payments

An open HTTP standard that enables AI agents and web services to pay instantly using stablecoins (e.g., USDC). Built for pay-per-use, micropayments, and autonomous agent commerce.

0.01 USD Demo Payment
1 Click Experience
100 % Working Demo

X402 leverages the HTTP 402 "Payment Required" status to embed on-chain stablecoin payments into web interactions. With lightweight middleware, developers can enable pay-per-request monetization, instant settlement, and agentic transactions without API keys or subscriptions.

Try the X402 Flow

Run a $0.01 USDC demo: observe an HTTP 402 response that provides payment parameters (amount, token, payTo, network). Client signs an authorization (EIP-712), submits payment, and the resource unlocks instantly.

ℹ️ About X402 Protocol

Understanding X402 — HTTP 402 Payment Protocol

X402 is an open, chain-agnostic payment protocol (originating from Coinbase Developer Platform). Servers reply with a structured HTTP 402 payload (e.g., maxAmountRequired, payTo, asset, network, expiresAt, nonce, paymentId). Clients sign the payload (EIP-712), submit authorization, and the server verifies/broadcasts settlement then fulfills the request.

HTTP

HTTP Native Integration

Defines a standard 402 payment payload so developers can add pay-per-request monetization with minimal code (middleware examples available). Works with existing web stacks.

INSTANT

Instant Stablecoin Payments

Primarily uses stablecoins (e.g., USDC) and Layer-2 rollups (like Base) for near-instant finality and very low fees—making micropayments practical.

USDC
Stablecoin Payment
AI-READY

AI Agent Friendly

Designed for autonomous agents: agents can receive a 402 response, auto-sign, pay, and retry—enabling fully autonomous tool use and pay-per-use APIs.

AI Auto Payment
Network: Base
Demo Token: USDC
This demo uses USDC on an L2 for low-cost, near-instant settlement. In production, choose networks and assets that match your compliance and UX needs.
0.01 Demo Amount
EIP-712 Auth