hold_confirm
Capture reserved funds for a held transaction. Reduce the cart total before capture without increasing it.
Instructions
Capture previously-reserved funds for a held transaction.
Cart can be reduced (smaller receipt_items) before capture, but not
increased. Pass the same OutSum (possibly smaller) as the original hold.
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": {
"out_sum": "<out_sum>",
"inv_id": "<inv_id>"
},
"name": "hold_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_sum | Yes | ||
| inv_id | Yes | ||
| merchant_login | No | ||
| password1 | No | ||
| receipt_items | No | ||
| receipt_sno | No | ||
| algorithm | No | md5 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||