Composable TypeScript libraries for web3 payments over HTTP.
Quick Start
Make your first payment in three steps.
Concepts
Understand the x402 protocol.
Recipes
Complete working examples.
Client
Build agents and clients that pay for APIs.
Server
Accept payments on your API with middleware.