verify_ap2_payment
Verify on-chain AP2 payments by checking transaction details against mandate requirements for amount and recipient across supported blockchain networks.
Instructions
Verify an AP2 payment — returns {verified: true} if the on-chain transaction satisfies the mandate's amount and recipient.
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": {
"mandate_id": "<mandate_id>",
"tx_id": "<tx_id>",
"network": "<network>"
},
"name": "verify_ap2_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mandate_id | Yes | mandate_id returned by generate_ap2_mandate. | |
| tx_id | Yes | On-chain transaction ID submitted by the paying agent. | |
| network | Yes |