What x402 is
**x402** revives HTTP status **402 Payment Required** for machine payments. The server says: *this resource costs X; pay here; then retry with proof.*
Five steps (no wallet required to understand)
GET pay endpoint returns 402 with maxAmountRequired, payTo, network, asset payTo POST with payment proof (txHash + skill); receive sealed files Why exact amount matters
If the transfer is short by one micro-unit, verification fails. Agents must copy maxAmountRequired from the challenge, not guess from a UI label.
Re-redeem
A verified txHash is an entitlement key: the same payment can re-download the pack without paying twice (idempotent redeem).
Takeaway
x402 is a challenge-response payment loop over ordinary HTTP — designed for agents first, usable by humans too.