refund_payment
Refund a full or partial payment using a transaction ID and amount. Specify the return amount to process the refund via CloudPayments API.
Instructions
Refund a payment (full or partial) by transaction ID.
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": {
"TransactionId": "<TransactionId>",
"Amount": "<Amount>"
},
"name": "refund_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Amount | Yes | Сумма возврата (полная или частичная) | |
| JsonData | No | Дополнительные данные (JSON-строка) | |
| TransactionId | Yes | ID транзакции для возврата |