Quickstart — x402 in 5 minutes
Create a paywalled link and test the 402 flow.
- Create a link —
POST /admin/links { origin, priceUsd } - Test 402 —
curl -i https://sol402.app/p/<id> - Pay — Use an x402 client or facilitator UI to pay the requirement.
- Retry with X-PAYMENT —
curl -H "X-PAYMENT: <payload>" https://sol402.app/p/<id> - Receive content + X-PAYMENT-RESPONSE
Tip: Use solana-devnet for testing. Swap to mainnet when ready.