{"uid":"cap_WVD_Y6g1a9CQ7y5QL3WPM","slug":"x402toll-payment-processor-fee-calculator-0e335cde","name":"x402toll Payment Processor Fee Calculator","description":"Payment-processor fee and net received for Stripe, PayPal, and Square at their verified 2026 standard US rates — or reverse gross-up (what to charge to net a target).","url":"https://x402toll.com/v1/commerce/processor-fee","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["net","gross-up"],"type":"string","default":"net"},"amount":{"type":"number"},"processor":{"enum":["stripe","paypal-checkout","paypal-standard","square-online","square-inperson","square-keyed"],"type":"string","default":"stripe"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YLfmdDGV6qWhG-6OjvryF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates payment-processor fees and net received for Stripe, PayPal, and Square at 2026 US standard rates, or reverse gross-ups a target net amount to find what to charge.","exampleAgentPrompt":"What do I actually pocket after Stripe fees on a $350 payment — and also tell me what I'd need to charge to net $350 if I want to pass the fee to the customer?","exampleUseCases":null,"resultDescription":"Returns the processor fee amount, net received (after fees), and for gross-up mode the gross charge needed to yield the target net — all computed using verified 2026 standard US rates for the selected processor (Stripe, PayPal Checkout, PayPal Standard, Square Online, Square In-Person, or Square Keyed).","failureModes":["Invalid processor enum value returns validation error","Amount not provided or non-numeric causes 400 error","Mode enum not recognized returns validation error","Amount of zero or negative may return error or zero-fee result"],"whenToPreferThis":"Use this endpoint when you need accurate, up-to-date 2026 US standard fee calculations for Stripe, PayPal, or Square — especially for both forward (what do I net?) and reverse (what do I charge?) computations. Prefer over manual calculations or generic fee estimators when you need verified rates across multiple processor variants.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:53:16.118Z","isFirstParty":false}