HomeAPIs › Stripe

Stripe API — fees & how to get your keys

Stripe is the default API for accepting card payments online. There's no monthly fee — you pay a percentage per transaction. Here's the cost and how to get your keys (test mode works in seconds).

Stripe fees (reference, US, June 2026)

TypeFeeNotes
Standard card charge2.9% + $0.30Per successful charge, US cards
International cards+1.5%Added to standard
Currency conversion+1%When converting
Monthly / setup fee$0Pay only per transaction
RefundsfreeBut original fee isn't returned
⚠️ Reference fees, US, June 2026 — rates differ by country and product (Billing, Connect, Terminal add their own fees). Confirm on stripe.com/pricing.

How much will Stripe cost you? (quick math)

On a $50 charge: 2.9% ($1.45) + $0.30 = $1.75, so you keep $48.25. On $10: $0.29 + $0.30 = $0.59 (the flat 30¢ hurts small charges most). High-volume or large-ticket businesses can request custom rates.

How to get Stripe API keys (step by step)

1. Create an account at dashboard.stripe.com.
2. Go to Developers → API keys. You instantly get test-mode keys: a publishable key (pk_test_…) for the frontend and a secret key (sk_test_…) for the backend.
3. Build and test with the test keys — no real money, no approval needed.
4. Activate your account (add business + bank details) to flip to live keys and accept real payments.

Create a test charge object:

# replace sk_test_...
curl https://api.stripe.com/v1/payment_intents \
  -u sk_test_XXXX: \
  -d amount=5000 \
  -d currency=usd \
  -d "payment_method_types[]=card"

Alternatives

PayPal, Adyen, Paddle (handles sales tax for you, good for SaaS) and Lemon Squeezy are common alternatives. For most developers Stripe wins on docs and ease; Paddle/Lemon Squeezy win if you want a merchant of record that handles global tax.

FAQ

How much does Stripe charge?

US: 2.9% + $0.30 per successful card charge, no monthly fee. International cards +1.5%, currency conversion +1%.

How do I get Stripe API keys?

Create an account, go to Developers → API keys, and you instantly get test-mode publishable and secret keys. Activate the account for live keys.

Is Stripe free to start?

Yes — no monthly or setup fee, and test mode is completely free. You only pay the percentage when you take a real payment.

Not affiliated with Stripe. Fees are reference estimates — always verify on the official pricing page.