check_payable
Full verdict on one payable BEFORE paying: seller on the vendor list; the registered payee, amount and document hash; the seller agent badge on the official registry (buyer checks seller); the buyer agent badge and agentWallet (seller checks buyer); owner-consent and age-gate status; and the API's before-pay verifier. Optionally pass the invoice copy and email text you were sent (doc_text, email_text, claimed_payees) so tampering and injected instructions are caught. Verdict is one of pay, refuse, needs_owner_consent, needs_age_proof. Read-only.
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": {
"seller": "<seller>",
"id": "<id>"
},
"name": "check_payable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | payable id | |
| seller | Yes | seller account address | |
| doc_text | No | the invoice document text you received (checked against the on-chain hash) | |
| email_text | No | the covering email text (scanned for instructions and other payee accounts) | |
| claimed_payees | No | accounts the sender asked you to pay | |
| expected_amount | No | amount in base units the sender asked for |