apply_credit
Оплатить инвойс полностью или частично с кредитного баланса (whmcs/apply_credit). ДЕНЬГИ: списывает средства со счёта.
Instructions
Оплатить инвойс полностью или частично с кредитного баланса (whmcs/apply_credit). ДЕНЬГИ: списывает средства со счёта.
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": {
"invoice_id": "<invoice_id>",
"amount": "<amount>",
"confirm": "<confirm>"
},
"name": "apply_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Сумма оплаты в валюте аккаунта | |
| confirm | Yes | Must be true to run the operation. | |
| invoice_id | Yes | Номер инвойса |