Price for a target payout
price_for_targetCalculate the minimum sale price, rounded up to the cent, that nets your target amount after fees on Gumroad, Stripe, PayPal, or Etsy.
Instructions
Lowest price (rounded up to the cent) that leaves at least the target amount after fees.
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": {
"platform": "<platform>",
"target": "<target>"
},
"name": "price_for_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | Etsy: items in the order | |
| type | No | PayPal payment type (default checkout) | |
| target | Yes | Amount you want to keep per sale, USD | |
| discover | No | Gumroad: sale came through Gumroad Discover (flat 30%, processing included) | |
| platform | Yes | ||
| shipping | No | Etsy: shipping charged to the buyer | |
| extra_pct | No | Stripe: extra % for international cards or currency conversion | |
| gift_wrap | No | Etsy: gift wrap charged | |
| label_cost | No | Etsy: shipping label cost | |
| processing | No | Gumroad direct: add card processing 2.9% + $0.30 (default card) | |
| high_volume | No | Gumroad: 5% + $0.50 tier (paid sales this calendar month reached $20,000) | |
| offsite_ads | No | Etsy: Offsite Ads fee (std 15%, low 12%) | |
| cost_per_item | No | Etsy: your cost per item | |
| international | No | PayPal: international buyer (+1.50%) | |
| sales_tax_pct | No | Etsy: sales tax % on the order |