services / payment-check
financeoperational · 325 ms
x402 Payment Check (is this seller safe to pay?)
Check an x402 seller before your agent pays it. Send the seller's paid URL (or its 402 body). Returns allow, review or block with reasons: payTo wallet vs OFAC SDN crypto addresses, Circle USDC freeze, scam address and phishing domain lists, official USDC on the expected network, price and payTo vs the seller's Coinbase Bazaar listing, plus invoice_sha256 and an Ed25519-signed receipt. Data from partner Tolca. Not charged on bad input.
Run free trial ↗3 free calls per day with the example input. Paid: $0.016 USDC, no limit.
Call it
Input
| Field | Type | Description |
|---|---|---|
| url | string | The seller's paid endpoint, e.g. https://seller.example/api/x (its 402 is read without paying) |
| payment_required | object | Or the seller's full 402 body with its accepts array |
| requirements | object | Or one entry of the accepts array: network, payTo, asset, amount, resource |
| method | GET | POST | Method to use on the seller URL |
| network | string | Network to check if the seller offers several, e.g. eip155:8453, base, polygon, solana (default Base) |
| seller_name | string | Optional seller company name, screened against sanctions lists |
| seller_country | string | Optional ISO-2 country code |
Output
| Field | Type | Description |
|---|---|---|
| action | string | |
| risk_score | integer | |
| action_meaning | string | |
| reasons | array | |
| checks | object | |
| invoice | object | |
| invoice_sha256 | string | |
| nonce | string | |
| checked_at | string | |
| valid_until | string | |
| lists | string | |
| notice | string | |
| fetched_from | object | |
| receipt | object | |
| provided_by | string |
Example response (data)
{
"action": "allow",
"risk_score": 5,
"action_meaning": "No blocking signal in the checks below: you may pay this exact invoice before valid_until.",
"reasons": [
"Wallet history: this wallet has been on record for this resource since 2026-11-04 (21 days).",
"Issuer check: this wallet is not frozen by Circle on Base.",
"No blocking signal: address not on the sanctions lists checked, official USDC, expected network, price and wallet consistent with the Coinba…"
],
"checks": {
"address": {
"status": "pass",
"matches": []
},
"asset": {
"status": "pass",
"expected": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"got": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"network": {
"status": "pass",
"value": "eip155:8453",
"name": "Base"
},
"catalogue": {
"status": "pass",
"source": "coinbase",
"listed": true,
"listed_price_usd": 0.002,
"invoice_price_usd": 0.002,
"wallet": {
"status": "pass",
"listed_pay_to": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
}
},
"issuer_freeze": {
"status": "pass",
"issuer": "Circle",
"frozen": false,
"checked_via": "cache"
},
"scam_lists": {
"status": "pass",
"domain_listed": false,
"wallet_listed": false
}
},
"invoice": {
"network": "eip155:8453",
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"payTo": "0x622efa6ceb83a5b6edbc931332f4db68b7f74f27",
"amount_atomic": "2000",
"resource": "https://agentsvc.io/api/v1/proxy/weather",
"amount_usd": 0.002
},
"invoice_sha256": "fca91b58498824d10827c7ebaf551c40dde84743010141beca0b2221ebb9…",
"nonce": "95dd94f2-31fd-407d-85da-61d5d1804d5d",
"checked_at": "2026-11-25T19:25:19.651Z",
"valid_until": "2026-11-25T19:35:19.651Z",
"lists": "OFAC SDN digital currency addresses from the US Consolidated Screening List, refreshed daily; USDC issuer freeze (Circle isBlacklisted, read…",
"notice": "First line of defence before an x402 payment: only addresses and companies already on official lists are detected. Not a full blockchain ana…",
"fetched_from": {
"url": "https://agentsvc.io/api/v1/proxy/weather",
"method": "GET",
"ok": true
},
"receipt": {
"payload": {
"v": 1,
"id": "rcpt_4fd9ae725e53d16ea057f3e3",
"issuer": "Tolca (https://tolca.tonbot.ca)",
"service": "payment-check",
"issued_at": "2026-11-25T19:25:19.652Z",
"result_sha256": "2cc6a1e852f3f10b411a23b7d62b298fab3c1c6364d20c579a489aea3a57…"
},
"alg": "Ed25519",
"key_id": "ea2ef79acf833551",
"signature": "CXLQwy7OwFTmQXhtPud7PnBb…",
"verify_url": "https://tolca.tonbot.ca/receipts/rcpt_4fd9ae725e53d16ea057f3e3",
"public_key_url": "https://tolca.tonbot.ca/.well-known/tolca-receipt-key.json"
},
"provided_by": "Data and signed receipt from Tolca (https://tolca.tonbot.ca), resold by agentsvc.io."
}