x402 Payment Protocol Demo
HTTP 402 on Push Chain
Payments are processed automatically using server-side private key
Ready
✓ Seamless mode: Payments will be processed automatically
API Response
No response yet. Click "Make Request" to start.
Payment Successful
No payment processed yet.
Request Headers
No headers sent yet
How x402Axios works
- Initial Request: Tries to access resource (no payment)
- 402 Response: Server responds with payment requirements
- Automatic Payment: SDK processes payment via facilitator
- Retry with Proof: Request retried with payment proof header
- Success: Protected resource delivered after verification