Confirm or dispute a payment
confirm_paymentAs the receiver, confirm a payment recorded by the payer (it then counts in balances) or dispute it (it never counts). Only recorded payments can be confirmed or disputed.
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": {
"payment_id": "<payment_id>",
"action": "<action>",
"idempotency_key": "<idempotency_key>"
},
"name": "confirm_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| action | Yes | ||
| payment_id | Yes | ||
| idempotency_key | Yes | Any unique string you make up for this action, 8-128 characters (a UUID works). Reuse the same key only to retry this exact call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox | No | ||
| payment | Yes | ||
| suggested_next | Yes |