Pre-check an x402 payment
x402_precheckBefore paying an x402 endpoint: fetch it, validate its HTTP 402 payment requirements (scheme, network, payTo, amount, asset) and screen payTo against the OFAC SDN crypto-address list. Returns verdict ok|warn|block|not_402. Free to try: 20 MCP calls/day per client, no API key or wallet needed (beyond that: prepaid credits via header X-API-Key, see server instructions).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "x402_precheck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | x402 endpoint you plan to pay | |
| method | No | HTTP method the endpoint expects; default GET |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | ||
| reasons | Yes | ||
| summary | No | ||
| verdict | Yes | ||
| warnings | Yes | ||
| riskScore | No |