HomeAPIs › PayPal

PayPal API — pricing, free tier & how to get a key

PayPal's API lets you take payments, send payouts and run checkout — there's no monthly fee, you pay a percentage plus a fixed fee per transaction. It's the most widely recognised consumer wallet, which can lift conversion. Here's what it costs and how to get credentials.

PayPal API pricing (reference, June 2026)

Transaction typePercentage+ Fixed feeBest for
Standard online payment (US)2.99%$0.49Most checkouts
Checkout / advanced cards3.49%$0.49Card + wallet acceptance
Cross-border / currency+1.5% approxvariesInternational buyers
Micropayments (opt-in)4.99%$0.09Small-ticket items
⚠️ Reference prices, June 2026 — PayPal updates pricing regularly. Confirm on paypal.com/us/business/paypal-business-fees before budgeting. No monthly fee — you only pay per successful transaction. Rates vary by country, currency and product; confirm for your region.

→ Comparing processors? See the Stripe guide — fees are close, the difference is reach and payout flexibility.

Is there a free tier?

There's no free tier and no monthly fee — PayPal's API is free to integrate, and you pay only a per-transaction fee when you actually collect money. A full sandbox environment lets you build and test for free before going live.

How to get a PayPal API key (step by step)

1. Create a business account at paypal.com and go to the Developer Dashboard (developer.paypal.com).
2. Under Apps & Credentials, create an app to get your Client ID and Secret.
3. Use the Sandbox credentials to test, then switch to Live.
4. Exchange your credentials for an access token, then call the Orders or Payouts API.

Test it with a simple request:

# get an access token (replace ID:SECRET)
curl -v https://api-m.paypal.com/v1/oauth2/token \
-u "CLIENT_ID:CLIENT_SECRET" \
-d "grant_type=client_credentials"

Cheaper alternatives

Stripe is the developer favourite with similar fees and cleaner APIs; Paddle and Lemon Squeezy act as merchant-of-record (they handle tax) for SaaS; Square suits in-person plus online.

FAQ

What does the PayPal API cost?

No monthly fee — about 2.99% + $0.49 per standard US online transaction, with higher rates for advanced card acceptance, cross-border and micropayments. Always confirm rates for your country.

Is PayPal cheaper than Stripe?

They're close — both hover around 2.9–3.5% + a fixed fee. The real differences are buyer reach (PayPal wallet), payout options and developer experience (Stripe).

How do I get PayPal API credentials?

Create a business account, open the Developer Dashboard, create an app under Apps & Credentials, and copy the Client ID and Secret (sandbox first, then live).

Is there a sandbox?

Yes — PayPal provides a full free sandbox to build and test before accepting real payments.

Not affiliated with PayPal. Prices are reference estimates — always verify on the official pricing page.