Refund from wallet
refund_from_walletManually refund an amount from a client's wallet balance to reduce their credit, such as paying out unused credit outside the system.
Instructions
Manually refund an amount from a client's wallet balance (e.g. paying out unused credit outside the system). DESTRUCTIVE: reduces the client's credit balance.
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": {
"client_id": "<client_id>",
"amount": "<amount>",
"currency_code": "<currency_code>"
},
"name": "refund_from_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| client_id | Yes | Client UUID | |
| account_id | No | Account UUID | |
| gateway_id | No | Gateway UUID | |
| currency_code | Yes | ISO code of the refund currency, e.g. "USD" | |
| transaction_id | No | External reference for the refund |