Check an AI agent's payment against the mandate and the instruction
agent_payment_checkWhen the user asks for a payment check, checks a proposed AI-agent payment against the person's mandate (who allowed it, limits per payment and per period, allowed shops and UPI IDs, end date) and against what the person actually asked for (items, quantities, budget, shop). It works the total out again from the cart lines, and flags lookalike payees, extra items, too much quantity, going over a limit and repeat payments. Returns every check and a receipt signed by Nityaflow. It never pays, holds or moves money: a licensed bank or payment app does that, only after a person approves.
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": "<mandate>",
"intent": "<intent>",
"action": "<action>"
},
"name": "agent_payment_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The payment the agent proposes: {merchant, vpa, lines: [{name, qty, unit, price}], fees, total}. | |
| intent | Yes | What the person asked for: {text, items: [{name, qty, unit}], budget, merchant}. Units: kg, g, l, ml, pc, pack, dozen. | |
| history | No | Earlier payments under this mandate: [{at, total, vpa, status: paid}]. Used for the period limit and repeat check. | |
| mandate | Yes | The permission: {authorised_by, purpose, per_payment, per_period, period (day, week, month or 90 days), merchants: [{name, vpa, category}], approve_above, valid_from, valid_to}. |