# Tolca x402 Payment Check

> Tolca x402 Payment Check is a paid API for AI agents from tolca.tonbot.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-11).

Screens an x402 payment request for sanctions compliance, asset validity, network legitimacy, and price accuracy before an agent pays it

## Facts

- Endpoint: POST https://tolca.tonbot.ca/v1/payment-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tolca-x402-payment-check-b12b2593
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fd0Zj1FXERX2pT3plnS5K

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tolca-x402-payment-check-b12b2593 -d '<json body>'
```

Example prompt: Before you pay this x402 invoice from Acme Corp (US), check it for me — the seller is 'Acme Corp', country US, and here's the 402 response body with the accepts array — make sure the address isn't sanctioned, the asset is real USDC on Base, and the price matches their catalogue.

## When to prefer this

Use this endpoint whenever an AI agent is about to execute an x402 micropayment and needs a compliance and integrity gate: it simultaneously covers OFAC sanctions on the wallet address, asset/network authenticity, price verification against a known catalogue, and multi-jurisdiction company sanctions screening in a single call. Prefer it over building separate sanctions and price checks, especially in autonomous agent workflows where speed and auditability (invoice hash) matter.

## Known failure modes

- Unrecognized or malformed x402 payment request body returns validation error
- Seller not found in Bazaar catalogue — price comparison skipped or returns inconclusive
- Sanctions list API unavailability causes timeout or partial result
- Invalid ISO-2 country code returns input error
- Missing required fields in requirements object returns 400-level error
- Network not Base or asset not USDC triggers immediate block verdict

## How this service works

Check 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.

## Output

Returns a verdict of allow, review, or block along with reasons for the decision, a hash of the exact invoice checked, results from OFAC SDN digital currency address screening, USDC contract and Base network validation, price comparison against the seller's catalogue, and sanctions list screening for the seller company across US, UK, EU, and Canadian lists.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Or just the seller's paid URL: Tolca fetches its 402 payment request itself (GET, then POST), without paying"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string",
   "description": "Optional: method to use on the seller URL"
  },
  "network": {
   "type": "string",
   "description": "Optional: network to check when the seller offers several (CAIP-2 like eip155:137, or base, polygon, solana); default Base"
  },
  "seller_name": {
   "type": "string",
   "description": "Optional: seller company name, screened against sanctions lists"
  },
  "requirements": {
   "type": "object",
   "description": "One entry of the x402 accepts array: network, payTo, asset, amount or maxAmountRequired, resource"
  },
  "seller_country": {
   "type": "string",
   "description": "Optional ISO-2 country code"
  },
  "payment_required": {
   "type": "object",
   "description": "Or the full 402 response body with its accepts array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "action": "allow",
  "reasons": [
   "No blocking signal: address not on the sanctions lists checked, official USDC, expected network, price consistent with the catalogue."
  ],
  "risk_score": 5,
  "valid_until": "2026-11-04T04:05:33Z",
  "invoice_sha256": "a7d580822f2a2711..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tolca-x402-payment-check-b12b2593/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tolca.tonbot.ca](https://www.zero.xyz/host/tolca.tonbot.ca/llms.txt)
