Discount and Cashback Net Spend
bpj_discount_cashback_net_spendDiscount the list price first, then accrue cashback on the actual payment to distinguish checkout payment from eventual net spend.
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": {
"price": "<price>",
"discount": "<discount>",
"cashback": "<cashback>"
},
"name": "bpj_discount_cashback_net_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| cashback | Yes | ||
| discount | Yes |