Apply Rebate
evuun_apply_rebateApply part or all of the buyer’s unlocked rebate to one of their own orders before payment starts. Same currency applies 1:1; another currency needs the fx_quote_id from evuun_preview_rebate_conversion. The order keeps its full price; only the cash remainder is charged. Reuse the idempotency key on retry.
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": {
"order_id": "<order_id>",
"amount_minor": "<amount_minor>",
"currency": "<currency>",
"quote_version": "<quote_version>",
"confirm": "<confirm>",
"idempotency_key": "<idempotency_key>"
},
"name": "evuun_apply_rebate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| currency | Yes | ||
| order_id | Yes | ||
| fx_quote_id | No | ||
| amount_minor | Yes | ||
| quote_version | Yes | ||
| idempotency_key | Yes |