compare_gateway_fees
Compare transaction fees across Stripe, Razorpay, and LemonSqueezy for any amount and currency, get itemized cost breakdowns and the lowest-fee gateway.
Instructions
Evaluates and compares the transaction processing fees, percentage cuts, fixed interchange fees, and estimated net payouts across Stripe, Razorpay, and LemonSqueezy for a given transaction amount and currency. Returns an itemized fee breakdown for each supported gateway alongside the recommended lowest-cost provider.
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": {
"amount": "<amount>",
"currency": "<currency>"
},
"name": "compare_gateway_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The gross transaction amount in minor currency units (e.g., 10000 for $100.00 or ₹100.00) to calculate fee deductions against. | |
| currency | Yes | Three-letter ISO 4217 currency code (e.g., "USD", "INR", "EUR", "GBP") to evaluate currency-specific processing rate tiers. |