Charge To Net
charge_to_netCompute the gross price to charge so you net a target after fees. FREE.
'Charge X to receive Y' after percentage + fixed processor fees. Typical input {"net_target": 100, "pct_fee": 2.9, "fixed_fee": 0.30} returns {"charge": 103.4, "fee": 3.4, "net": 100.0}.
The inverse of processor_fees - solves for gross from a target net. Use when the payout is the fixed requirement. Not when the price is already set. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "net_target > 0 and pct_fee < 100 required"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pct_fee | No | Processor percentage fee, below 100, e.g. 2.9 for 2.9%. Default 2.9. | |
| fixed_fee | No | Processor fixed fee per charge. Default 0.30. | |
| net_target | Yes | The amount you want to receive after fees; must be greater than 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||