refund
Processes customer money-back events by reversing the related affiliate accrual, keeping commission records accurate.
Instructions
Клиенту вернули деньги: ядро откатит начисление
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": {
"event_id": "<event_id>",
"occurred_at": "<occurred_at>",
"refund_id": "<refund_id>",
"order_id": "<order_id>",
"amount": "<amount>",
"currency": "<currency>"
},
"name": "refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| dry_run | No | ||
| currency | Yes | ||
| event_id | Yes | ||
| order_id | Yes | ||
| member_id | No | ||
| refund_id | Yes | ||
| occurred_at | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||