x402 Payment Protocol
Watch a complete HTTP 402 payment flow settle on Arc in real time. Every step is verifiable on ArcScan.
Start a payment
The demo runs the full x402 lifecycle: challenge โ authorize โ settle โ verify.
Latest settlement
Start a flow to see the settlement proof here.
No settlement yet
Click โถ Start x402 flow on the left to run a complete 402 challenge โ EIP-3009 sign โ Arc settlement โ ArcScan verification.
Typical demo time: 5โ10 seconds.
1402 Challenge
Server returns HTTP 402 + PAYMENT-REQUIRED header with the amount, network, recipient, and EIP-3009 nonce.
2Client signs
AI agent (or human wallet) signs an EIP-712 transferWithAuthorization. Server receives PAYMENT-SIGNATURE header.
3Onchain settlement
Facilitator submits the transferWithAuthorization on Arc (chain id 5042002). Sub-second BFT finality.
4ArcScan verification
Server polls Blockscout v2 API to confirm the tx is mined + status=1. Returns PAYMENT-RESPONSE + proof.