payment-check
payment_checkCheck an x402 endpoint before paying it: is this x402 seller safe to pay? Send the seller's URL (or its 402). One call screens the payTo wallet against OFAC SDN crypto addresses, checks official USDC on its network (13 networks incl. Base, Solana, Polygon, Arbitrum) and compares price and payTo with the seller's Coinbase Bazaar listing. Returns allow / review / block, invoice hash and Ed25519-signed receipt. Input: url or payment_required, optional network, seller_name. Costs $0.01 USDC per call (x402 v2, Base or Solana). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/payment-check with an x402 client.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "payment_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Or just the seller's paid URL: Tolca fetches its 402 payment request itself, without paying | |
| method | No | Optional: method to use on the seller URL (default: GET, then POST) | |
| network | No | Optional: network to check when the seller offers several, e.g. eip155:137, polygon, solana (default: Base) | |
| seller_name | No | Optional: seller company name, screened against sanctions lists | |
| requirements | No | One entry of the accepts array from the seller's 402 response | |
| seller_country | No | Optional ISO-2 country code of the seller | |
| payment_required | No | Or the full 402 response body |