Payment Fee, Gross-Up & Margin Calculator API
Published by @mdforge
· Verified
99.98% uptime
~4ms avg
AI Score 94/100
Calculate Stripe, PayPal, Paddle, Lemon Squeezy, Apple & Google Play fees, reverse gross-up prices, and profit margins.
Try it live
https://api.indieapis.com/v1/stripe-fee-pricing-calc/fees
Exact fee and net payout for Stripe, PayPal, Paddle, App Store & Google Play.
Response
Press Run to call the live API
{
"ok": true
}
Overview
Calculate Stripe, PayPal, Paddle, Lemon Squeezy, Apple & Google Play fees, reverse gross-up prices, and profit margins.
Zero-proxy production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.
Gateway Headers & Hard Caps
Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset.
When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.
3 endpoints
| Method | Path | Parameters | Description |
|---|---|---|---|
| GET | /fees |
amount, processor
|
Exact fee and net payout for Stripe, PayPal, Paddle, App Store & Google Play. |
| GET | /gross-up |
target_net, processor
|
Calculate exact price to charge so your net payout equals target_net. |
| GET | /margin |
cost, price
|
Compute profit, gross margin %, and markup % from cost and price. |