x402 pre-payment payee check (paid, x402) — $0.005
check_x402_payeePaid endpoint ($0.005): Pre-payment payee check for any x402 endpoint: reads its unpaid 402 challenge (nothing paid or signed), compares payTo with the address you expect (address=0x...) and with the seller's /.well-known/x402, checks the asset is USDC on a known network, mainnet vs testnet, price vs listing and HTTPS. Returns pass/warn/fail with each check. Blocked/invalid url 400, no charge. Returns the x402 payment requirements and URL.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "https://cryptofeed402.site/price/BTC",
"address": "0x93e4B468A88B1f084Efc781ec7A1E2D195a40D22"
},
"name": "check_x402_payee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | x402 endpoint you plan to pay | |
| address | No | Optional payee you expect |