- Client requests a paid resource
- Server responds with
402 Payment Required - Client signs a payment payload
- Client retries with payment attached
- A facilitator verifies and settles on-chain
When to use x402
Use x402 when you want:- the simplest pay-per-request integration path
- a public facilitator on Abstract
- a clean split between client and server middleware
MPP instead when you want HTTP-native charge and session payment modes in one protocol, especially for repeated micro-payments.
Abstract facilitator
Abstract runs a public x402 facilitator that any developer can use:Supported token
The facilitator works with any ERC-3009-capable token on Abstract. USDC is the recommended token:x402 vs MPP
Get started
Accept x402 Payments
Add payment middleware to your API.
Make x402 Payments
Build a client that can pay x402-protected resources.