# x402toll Payment Processor Fee Calculator

> x402toll Payment Processor Fee Calculator is a paid API for AI agents from x402toll.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

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.

## Facts

- Endpoint: POST https://x402toll.com/v1/commerce/processor-fee
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402toll-payment-processor-fee-calculator-0e335cde
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WVD_Y6g1a9CQ7y5QL3WPM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402toll-payment-processor-fee-calculator-0e335cde -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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).

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402toll-payment-processor-fee-calculator-0e335cde/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402toll.com](https://www.zero.xyz/host/x402toll.com/llms.txt)
