Estimate cashback for a purchase
calculate_cashbackWork out the cashback on a purchase: commission = price × commission rate, of which the buyer receives a share set by their CashbackPro level (Bronze 30%, Silver 45%, Gold 60%, Platinum 80%). Returns the figure for every level. Pure calculation — nothing is looked up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price_usd | Yes | Product price in USD | |
| commission_rate_percent | Yes | AliExpress commission rate, percent (e.g. 7 for 7%) |