HY4 Verification Services / Guides
payment-required headerAn HTTP 402 response is a machine-readable invoice, not a payment. Read it before paying, the same way you would read an invoice amount and payee.
curl -sS -D - -o /dev/null 'https://HOST/PATH' | grep -i payment-required
The value is usually a base64-encoded JSON object. Decode it locally; never paste a private key, seed phrase or signature into a decoder.
x402Version — the challenge format version (v2 in our published examples).accepts[0].network — eip155:8453 means Base mainnet.accepts[0].asset — the token contract; native USDC on Base is
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.accepts[0].amount — an integer in the token's smallest unit
(USDC: 6 decimals, so 10000 = 0.01 USDC).accepts[0].payTo — the recipient. Compare it with the address on
the seller's own published page, not with a message from a third party.maxTimeoutSeconds — how long the quote is valid.Paying produces a public receipt; use the receipt guide to check it independently. A quote is supply. Only an external, confirmed receipt is payment.
Free local tools: quote decoder and quote builder. Full machine catalog: llms.txt.
Published with deed.pageReport abuse