# x402 pay-per-call readiness checklist

An unpaid call has to return HTTP 402 with parseable x402 payment requirements. This is the shape a listing check reads, plus settlement and a receipt.

## Valid 402 response

- [ ] Status is HTTP 402, with a JSON body.
- [ ] The body has x402Version and an accepts array.
- [ ] Each accept entry has scheme, network, asset, and payTo.
- [ ] The price is amount or maxAmountRequired, in the token's atomic units. Do not publish a second price that disagrees with it.
- [ ] scheme is exact for a fixed per-call price.
- [ ] payTo is the wallet that should receive the USDC. The listing uses this address. It does not take a different wallet typed beside it.
- [ ] asset is the USDC contract or mint for that network.
- [ ] network is the chain the agent must pay on. Base is eip155:8453. Polygon is eip155:137. Solana is solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp. Algorand is algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k. Name only a network this route accepts.

Example shape (the amount here is a sample of the field, not a recommended price):

```json
{
  "x402Version": 1,
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "maxAmountRequired": "1000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
      "extra": { "name": "USD Coin", "version": "2" }
    }
  ]
}
```

## Working example input

- [ ] Routes that take input include one real example.
- [ ] A GET that returns 402 keeps that example in the query string.
- [ ] A POST route may answer 405 to GET and 402 to POST. Store the method as POST and the example as a JSON body.
- [ ] The example is a value the route accepts. Placeholder words are rejected.

## Settlement and receipts

- [ ] A facilitator verifies the payment and submits it on chain. The provider does not have to run that verifier.
- [ ] After settlement, the on-chain transaction can be checked. That transaction is the receipt.
- [ ] Settlement-verified, on PayAPI Market, means PayAPI paid one named route and linked the receipt. Not every listing carries that badge.
