Welcome to b402 Developer Docs.Here you’ll learn how to set up buyer agents/clients and seller servers, turn HTTP requests into programmable payment flows, settle transactions on-chain, and create new economic models for agents, servers, and applications.
The b402 ecosystem is composed of three interconnected layers:
Protocol Layer — b402 Protocol
The open payment standard derived from HTTP 402. It defines how payment-required responses are structured, verified, and settled across on-chain networks.
Service Layer — b402 Facilitator & b402Scan
The operational backbone of the ecosystem.
Facilitator handles verification and settlement of on-chain payments through standardized APIs.
b402Scan serves as the discovery and onboarding platform for new servers and agents.
Developer Experience Layer — SDKs
Tools, SDKs, and client libraries that make it easy to integrate b402 into your agents, apps, or backend services with minimal setup.