hold_init
Create a checkout URL to reserve funds on a card via two-step authorization, enabling later capture or release.
Instructions
Build a checkout URL with StepByStep=true for two-step pre-auth.
Funds are reserved on the card; use hold_confirm to capture or
hold_cancel to release. Max hold window: 7 days.
Notification for successful hold is delivered to ResultURL2 (not the standard ResultURL). Requires prior agreement with Robokassa and only works with card payments.
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_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_sum | Yes | ||
| inv_id | Yes | ||
| description | No | ||
| merchant_login | No | ||
| password1 | No | ||
| receipt_items | No | ||
| receipt_sno | No | ||
| No | |||
| culture | No | ru | |
| is_test | No | ||
| algorithm | No | md5 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||