Documentation

Learn how to use x402 protocol to accept payments, create endpoints, and build on the decentralized web

Quick Links

Coinbase x402 Docs
Official Coinbase Developer Platform documentation
x402 GitHub
Open source x402 protocol implementation
Facilitator Discovery
Find and compare payment facilitators
New to x402?
Start here to learn the fundamentals

What is x402?

x402 is an open payment protocol that enables micropayments over HTTP. It uses the HTTP 402 "Payment Required" status code to negotiate payments between clients and servers, making it perfect for AI agents, APIs, and automated services.

Key Features

  • HTTP-native payment protocol
  • Micropayment support (as low as $0.001)
  • Instant settlement via blockchain
  • No credit cards or accounts required
  • Perfect for AI agents and automation
Get Started →