payment_preflight
LEGACY REMOTE COMPATIBILITY (0.01 USDC). New integrations should use the free local Payment Guard SDK at https://github.com/Andy229651/agentkyb-agent-tools. Checks HTTPS destination, EVM payTo format, Base network, amount validity, and detects recipient/network/price changes against caller expectations. Returns allow/review/block. Use vendor_preflight for deep KYB.
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": {
"endpoint": "<endpoint>",
"pay_to": "<pay_to>",
"amount_usd": "<amount_usd>",
"network": "<network>"
},
"name": "payment_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay_to | Yes | Observed payment recipient wallet | |
| network | Yes | Observed CAIP-2 network, e.g. eip155:8453 | |
| endpoint | Yes | HTTPS service or payment endpoint | |
| amount_usd | Yes | Observed payment amount in USD/USDC terms | |
| expected_pay_to | No | Previously trusted or expected recipient wallet | |
| expected_network | No | Previously expected CAIP-2 network | |
| expected_amount_usd | No | Previously quoted or expected amount |