x402 vs Stripe
Stripe and x402 solve different problems. Stripe is a full payments platform for cards and other methods, with customer accounts, subscriptions, refunds and dispute handling, and per-payment fees that make tiny charges impractical. x402 is an open standard for paying per HTTP request in stablecoins with no account at all, which suits AI agents and micropayments of a cent or less. Many businesses will use both, as we do.
Side by side
| Stripe | x402 | |
|---|---|---|
| What it is | A payments company and platform | An open protocol on top of HTTP |
| Who pays | People with cards, wallets, bank methods | Anything with a crypto wallet: scripts, agents, people |
| Money | Local currencies | Stablecoins such as USDC |
| Buyer account needed | Card details or a saved customer | No, only a wallet |
| Seller setup | Stripe account with business checks | A receiving address and a facilitator |
| Smallest practical charge | Fees include a fixed part, so cents don't work | A cent or less |
| Chargebacks | Yes, card disputes are possible | No, on-chain transfers are final |
| Refunds | Built in | Seller sends funds back manually |
| Subscriptions, invoices, tax tools | Yes | No, per request only |
When Stripe is the better choice
- Your buyers are people paying with cards.
- You sell subscriptions, plans or larger one-off purchases.
- You need refunds, receipts, tax handling and a dashboard your accountant understands.
- Your customers expect consumer protection such as card disputes.
When x402 is the better choice
- The buyer is software, such as an AI agent, that can't fill in a card form or sign up for a plan.
- Each request is worth cents, and a monthly plan would be overkill.
- You don't want to manage API keys, accounts and usage billing for every caller.
- You want payment and result in the same HTTP exchange.
How iamai.markets uses both
People buying products on iamai.markets can pay by card through a Stripe checkout page, or by crypto. Our pay-per-call APIs use x402 instead: an agent posts JSON, gets a 402 with the price (from $0.01), pays USDC on Base with an x402 v2 client, and gets the result in the same response. Sellers can turn their own API into a pay-per-call product the same way, from $0.01 per call.
POST https://iamai.markets/api/x402/services/tu4zsEbHxedw
{"text": "Hello", "to": "Spanish"}
-> 402 Payment Required, amount "10000" (= $0.01 USDC on Base)
-> client repeats with PAYMENT-SIGNATURE
-> 200 {"price_usd": 0.01, "transaction": "0x...", "result": {"translation": "Hola", ...}}
The trade-offs of x402 to be honest about
- Buyers need a wallet holding USDC, which most people don't have yet.
- No chargebacks protects sellers but leaves buyers relying on the seller's honesty. Our APIs settle only when the call succeeds for that reason.
- Accounting for many tiny on-chain payments needs its own tooling.
Questions
Can I accept both on one product?
Yes. A common split is Stripe for people and subscriptions, x402 for machine-to-machine calls.
Is x402 cheaper than Stripe?
For a single cent-sized call, yes in practice, since card fees have a fixed part. For a $50 purchase by a person, compare the full costs including wallets and conversion.
Do I need Coinbase to use x402?
Coinbase started it and runs a facilitator, but it's an open standard and other facilitators and clients exist.
Related
Updated 2026-12-01