Save payment method
save_payment_methodSave a payment method for recurring charges by creating a small real payment that is charged and refundable. Requires an amount and return URL to bind the card or wallet.
Instructions
Save a payment method for recurring charges. Creates a small real payment to bind the card/wallet (charged, then refundable). MOVES REAL MONEY — irreversible.
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": {
"amount": "<amount>",
"return_url": "<return_url>"
},
"name": "save_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Binding amount (min 1 ruble; charged then refundable) | |
| currency | No | Currency (ISO-4217, default RUB) | RUB |
| return_url | Yes | URL to return to after binding | |
| description | No | Description | Card binding |
| payment_method_type | No | Payment method type | bank_card |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| paid | No | ||
| amount | No | ||
| status | No | ||
| confirmation_url | No |