Calculators
Shopify fee & net payout API
Compute Shopify fees — payment processing (2.9% + $0.30 online by default) plus an optional platform transaction fee when not using Shopify Payments — and net payout. Deterministic fee stacking. Answers 'what are my Shopify fees','Shopify net payout after processing fees','Shopify transaction fee without Shopify Payments'.
Price$0.01per request
MethodPOST
Route/v1/calc/ecom-shopify-fee
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
ecomshopifyfeesprocessingtransaction-feecheckoutecommercecalc
API URL
Integration docshttps://x402.hexl.dev/v1/calc/ecom-shopify-feeExample request
{
"itemPrice": 50,
"unitCost": 20
}Example response
{
"formula": "processingFee = price × procRate + procFlat; transactionFee = price × txnRate; net = price − fees",
"itemPrice": 50,
"processingFee": 1.75,
"transactionFee": 0,
"totalFees": 1.75,
"feePercent": 3.5,
"netPayout": 48.25,
"unitCost": 20,
"profitPerUnit": 28.25
}Input schema
{
"type": "object",
"required": [
"itemPrice"
],
"properties": {
"itemPrice": {
"type": "number",
"examples": [
50
]
},
"processingRate": {
"type": "number",
"description": "Default 0.029",
"examples": [
0.029
]
},
"processingFlat": {
"type": "number",
"description": "Default 0.30",
"examples": [
0.3
]
},
"transactionRate": {
"type": "number",
"description": "Platform fee if not using Shopify Payments, default 0",
"examples": [
0.02
]
},
"unitCost": {
"type": "number",
"examples": [
20
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}