Live Interactive Demo

x402 Micropayment Flow

Watch a complete agent-to-service transaction in real-time. From discovery to payment to delivery — all in under 5 seconds, for fractions of a cent.

Total Time
Total Cost
0/5
Steps Complete
AI Agent
API Gateway
Payment
Verify
Response
Discovery

Agent discovers service

The AI agent queries the service catalog and finds your API endpoint with machine-readable capabilities and pricing.

Request

Agent makes API request

The agent sends a standard API request. The server responds with a 402 Payment Required status and x402 payment instructions.

Payment

Agent sends USDC micropayment

The agent's wallet automatically sends the exact USDC amount to the service's payment address on Polygon. Transaction settles in ~2 seconds.

Verification

Service verifies payment

The service verifies the on-chain USDC transfer using cryptographic proof. ZK verification ensures payment authenticity without exposing wallet details.

Delivery

Service delivers response

With payment verified, the service processes the request and returns the result with a cryptographic receipt proving execution.

How x402 Micropayments Work

HTTP 402 Payment Required

Services respond with 402 status codes containing payment instructions. Agents parse the x402 headers to understand pricing, accepted currencies, and payment addresses.

USDC Micropayments

Agents pay per-request in USDC on Polygon. Fractions of a cent per API call. No subscriptions, no invoices, no billing cycles. Pay only for what you use.

ZK Verification

Every payment is verified on-chain with ZK proofs. Cryptographic receipts prove execution without exposing sensitive wallet data. Trust built into every transaction.

Who's already using x402?

Stripe
Coinbase
Anthropic
AAOS 2.0
Voice Command