calculate_fees
All marketplace fees and net profit for one card sale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vip | No | ||
| price | Yes | Sale price (USD) | |
| graded | No | ||
| taxRate | No | Buyer sales tax rate, e.g. 0.08 (affects eBay/TCGplayer/Whatnot fees) | |
| costBasis | No | What you paid for the item | |
| comcService | No | ||
| marketplace | Yes | ||
| payoutMethod | No | How you get paid. ebay: standard|express|ebay_balance; comc: paypal|check|store_credit; fanatics: cash|fancash; arenaclub: bank|debit_instant|wallet; tcgplayer: direct_deposit|paypal_international; whatnot: bank | |
| shippingCost | No | Your actual postage cost | |
| shippingCharged | No | Shipping charged to buyer |