Full Worked Example
Other endpoint examples (request bodies only)
Token Prices — 2 tokens, expected payment2 × $0.03 = $0.06:
$0.06:
$0.06, empty body:
x402 docs: Overview · Quickstart · Payment Flow · API Reference · Errors & Troubleshooting · Examples