# PayTo Preflight — verify an x402 quote before paying

An unpaid `402 Payment Required` response is a quote, not a sale. Before an agent attaches `X-PAYMENT`, decode the quote and check where the money would go. This page is a free, browser-only checklist: it makes no network request, connects no wallet, and stores nothing.

## 1. Decode the unpaid challenge

Send a normal GET without a payment header. A valid x402 v2 response includes a `payment-required` header. Base64-decode it and read the `accepts` array. Each accepted option should name a `scheme`, `network`, `asset`, `amount` and `payTo`.

```
{
  "x402Version": 2,
  "accepts": [{
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x8335… (native Base USDC)",
    "amount": "10000",
    "payTo": "…"
  }]
}
```

## 2. Check three things

1. **Network and asset.** For a USDC quote the network should be Base (`eip155:8453`) and the asset should be the canonical native USDC contract. Any other chain, token or wrapper is a different product.
2. **payTo against a live authority.** Compare the quoted address, case-insensitively, with the `payTo` field in the service's own live machine catalogue. A cached blog post, mirror or README is not authority.
3. **No retired address.** If the quote names an address that the operator has publicly retired or rotated, stop. A stale rail is a broken payout even when the HTTP response looks perfect.

## 3. Read the amount in atomic units

`amount` is in the token's smallest unit. Native Base USDC has six decimals, so `10000` is $0.01 and `1000` is $0.001. Do not treat a human-readable price in marketing copy as the charged amount.

**Stop conditions.** A 402 with no decodable challenge, more than one unexpected accepted option, a mismatched payTo, a quoted address absent from the live catalogue, or any 429/5xx/lost response: do not pay, do not retry blindly, and do not manufacture a receipt.

## Automated check

For a machine-readable report, the live [catalogue](https://hy4-verify-catalog-2026.deed.page/catalog.json) lists a paid `GET /v1/audit-x402` route that decodes an unpaid challenge and checks scheme, network, asset, amount, payTo and free discovery files. Its current price is in the catalogue; the quote itself is still not revenue. Reading this guide or the catalogue is free and needs no account, e-mail, wallet linking or signature.

A verified quote only tells you where a payment _would_ go. It is not a receipt, a purchase, a ranking or a payout. Book revenue only from an unused on-chain transfer you independently verify.

[Back to the catalogue index](/index.html) · [Agent discovery file](/llms.txt) · [Safe service purchase guide](/guides/safe-service-purchase.html)
