Payment check
payment_checkPayment check: is this seller safe to pay, checked at the moment the agent pays. Compares the 402 price and payee with the seller's published listings when they can be fetched, screens the payee against a local denylist and the bundled OFAC SDN digital-currency address list, flags an over-price versus the intended amount, reuses the duplicate-payment check, and confirms the seller URL returns a valid 402. Returns allow, review or block with reasons and a signed receipt id. Fetches time out in about 2s and fail closed to review. $0.005 per call.
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 |
|---|---|---|---|
| agent_id | No | Optional agent or caller id, also used on the signed receipt. | |
| event_id | No | Optional idempotency key for this check. | |
| seller_url | No | The seller's paid HTTP URL. | |
| intended_amount | No | USD the agent intends to pay. | |
| payment_required | No | The seller's 402 PAYMENT-REQUIRED payload or base64 header value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payee | No | ||
| checks | No | ||
| reasons | No | ||
| verdict | No | allow, review, or block. | |
| amount_usd | No | ||
| receipt_id | No | ||
| request_id | No | ||
| verify_url | No |