PROVIDER - Payment APIs
Stripe
Stripe is a payment infrastructure platform for developers and platforms, delivering card acquiring, subscription billing, platform payouts and risk tooling through one API.
4.9pts
Service Overview
Stripe is payment infrastructure for developers and platforms, turning card acquiring, subscription billing, platform payouts, tax calculation and fraud scoring into a set of composable APIs, so collection flows are defined in code rather than negotiated clause by clause in a contract.
Integration centres on PaymentIntent as the state machine for a single charge, Billing for subscriptions and usage metering, Connect for money movement between a platform and its merchants, and Radar for risk decisions; onboarding is limited to supported countries and regions, so a mainland China entity needs a Hong Kong, Singapore or US entity with a local bank account.
Key Strengths
- PaymentIntent models the whole lifecycle of a charge as one state machine, keeping front-end and back-end duties clearly separated.
- Official SDKs cover more than ten languages, and error messages point straight at the offending parameter and field.
- Billing covers recurring plans, usage metering and trials, sharing one customer record with invoices and dunning.
- Connect handles platform collection, multi-party splits and payouts, with account type setting the compliance the platform carries.
- Radar pairs a rules engine with model scoring across amount, country and card BIN ranges.
Limitations
- Mainland China entities cannot onboard directly and need a Hong Kong, Singapore or US entity plus a local bank account.
- US card acquiring runs 2.9% + USD 0.30, while a Hong Kong entity uses the local 3.4% + HKD 2.35 rate.
- International cards add about 1.5% on top of the local rate, raising the effective cost of cross-border orders.
- Disputes carry a fixed fee per case, and the original processing fee is not returned when a payment is refunded.
- High-risk verticals may face a rolling reserve, with the funds released on a fixed cycle and earning no interest.
Product Ecosystem
Payments and Elements
PaymentIntent is the single source of truth for a charge: the front end collects card details with Elements while the back end only handles state transitions and idempotency. Cards, wallets, bank transfers and local methods share one interface, with 3D Secure and network tokens adapted by the platform; the design of order IDs and idempotent callbacks is covered in the order number and idempotency design guide.
Billing
Billing covers recurring subscriptions, usage-based billing, tiered pricing, trials and coupons, with invoices, dunning and revenue recognition attached. The hard part of subscriptions is state consistency rather than charging, and Billing turns trials, upgrades, downgrades, arrears and retries into queryable objects; the call order for standing up a subscription flow from scratch is in the subscription billing API integration guide.
Connect
Connect serves marketplaces, SaaS platforms and crowdfunding with platform collection, multi-party splits, connected account KYC and payouts. The Standard, Express and Custom account types decide how much compliance and support the platform carries, and since changing them later is costly, most businesses fix the type around their operating model once.
Radar
Radar scores every transaction with a model and pairs it with rules over amount, country, card BIN and past behaviour; hosted rules work out of the box, while custom rules suit teams with an existing fraud feature set. 3D Secure and in-app verification can lower dispute rates, though they do not change how chargeback liability is assigned.
Tax and Revenue Recognition
Stripe Tax calculates sales tax and VAT from customer address and product type, and Revenue Recognition splits collections into revenue entries. Registration and invoice requirements for cross-border SaaS are completed in the entity's own jurisdiction, so these products handle calculation and bookkeeping while filings still go through a local tax agent.
Use Cases
- Fit | SaaS and subscription products: Billing covers recurring, usage and tiered pricing with invoicing and dunning built in.
- Fit | marketplaces and platforms: Connect takes over splits, KYC and payouts, so the platform need not build its own funds flow.
- Fit | cross-border DTC stores: multi-currency and local methods arrive in one integration, serving both EU/US and APAC buyers.
- Assess first | collection inside mainland China: mainland entities cannot onboard, and RMB acquiring stays with licensed institutions.
- Assess first | businesses needing domestic clearing and invoices: settlement sits in an overseas account and cannot replace a domestic acquirer or VAT invoicing.
Fee Structure & Revenue Share
| Business channel / model | Standard rate or revenue share | Onboarding and payout threshold | Settlement cycle and add-on fees |
|---|---|---|---|
| US card acquiring (local cards) | 2.9% + USD 0.30 per transaction | US entity and local bank account required | Rolling 2 business days, no payout minimum |
| Hong Kong card acquiring (local cards) | 3.4% + HKD 2.35 per transaction | Hong Kong company and bank account required | Rolling 2 business days |
| International card surcharge | +1.5% per transaction | Same entity as the acquiring account | Settled with the base fee, kept on refund |
| Connect platform transfers | 0.25% + USD 0.30 per transaction | Connect enabled and connected account KYC complete | Per the settlement schedule set by the platform |
| Disputes (chargebacks) | About USD 15 per case | Evidence filed before the response deadline | Disputed amount clawed back separately |
Note on scope: the figures above reflect published fee schedules as of November 2026; local rates are banded by the account's registration country, so US, Hong Kong and European entities carry different standard rates. International card surcharge and currency conversion stack per transaction, dispute amounts and handling fees are charged separately, and the rolling reserve ratio and release cycle follow the risk assessment.
FAQ
- Can a mainland China entity open a Stripe account? Not directly. Stripe does not acquire inside mainland China, so a Hong Kong, Singapore or US entity with a local bank account is needed, and KYC must explain the business, source of funds and site content. RMB acquiring stays with licensed institutions, and an overseas entity cannot use Stripe for domestic clearing or invoicing.
- What layers make up the cost? Four main layers. US local card acquiring is 2.9% plus USD 0.30; international cards add about 1.5% on the local rate; a currency conversion fee of roughly 1% applies when settlement and collection currencies differ; disputes cost about USD 15 each. Refunds keep the original fee, and high-risk verticals may face rolling reserves.
- How do settlement and payouts work? There is no separate payout action: settled funds arrive in the linked bank account on a rolling cycle, two business days by default for US accounts, with Hong Kong following local clearing times. Reserves and negative balances offset later settlements first, and paying out to another bank means changing the settlement account, which requires fresh verification.
- What rules apply to disputes? Once a buyer raises a chargeback through the issuing bank, an evidence window opens and delivery proof, communication records and service terms must be filed before the deadline; missing it forfeits the case, and the disputed amount plus a fixed fee are deducted. A dispute rate that climbs alongside a high refund rate triggers account checks and slows settlement.
- Why are accounts restricted or disabled? Common causes are expired verification details, a sudden volume spike, an elevated dispute rate, or products that differ from what was declared. Remediation follows the Dashboard checklist with licence, site screenshots, supplier invoices and shipping evidence submitted in one package; opening another account under the same entity is linked back to the first and does not bypass the limit.
Business Integration & Rule Examples
Create a PaymentIntent (minimal)
Place it in the server-side order endpoint: pass the amount as an integer in the smallest currency unit, expose only the client secret to the browser, and keep the idempotency key fixed per order.
# Create the intent server-side; only the client secret goes to the browser.
curl -sS https://api.stripe.com/v1/payment_intents \
-u "$STRIPE_SECRET_KEY:" \
-H "Idempotency-Key: order-1001-attempt-1" \
-d amount=12000 -d currency=usd \
-d "automatic_payment_methods[enabled]=true" \
-d "description=Order 1001" \
-d "[email protected]" \
-d "metadata[order_id]=order-1001" \
-d "metadata[cart_hash]=sha256:9f2c41" \
-i | tee intent.http
Amounts are integers in the smallest currency unit (12000 means 120.00); the Idempotency-Key must stay identical across retries of the same order, and duplicates within 24 hours return the same result.
Verify webhook signatures and deduplicate events
Mount it on the webhook route: verify with the raw bytes, deduplicate by event ID, and return 2xx to acknowledge delivery.
import os, stripe
from flask import Flask, request, abort
app = Flask(__name__)
stripe.api_key = os.environ["STRIPE_SECRET_KEY"]
secret = os.environ["STRIPE_WEBHOOK_SECRET"]
done = set() # production: unique index on event["id"]
@app.post("/webhooks/stripe")
def stripe_hook():
payload = request.get_data()
try:
event = stripe.Webhook.construct_event(
payload, request.headers.get("Stripe-Signature", ""), secret)
except (ValueError, stripe.SignatureVerificationError):
abort(400)
if event["id"] in done: # Stripe retries for up to 3 days
return "", 200
done.add(event["id"])
if event["type"] == "payment_intent.succeeded":
fulfil(event["data"]["object"]["metadata"].get("order_id"))
return "", 200
Verification must use the raw bytes, never a re-serialised body; only a 2xx counts as delivered, and any other status triggers retries.
Community & Resources
Communities and official channels
- Stripe official site — Product and solution overview with a pricing entry
- Stripe API reference — Onboarding, required parameters and launch checklist
- Stripe Webhooks docs — Event subscription, signature verification and retries
- Stripe status page — Live availability and incident history
Learning resources and tools
- stripe/stripe-python — Official Python SDK with resource and webhook helpers
- stripe/stripe-node — Official Node SDK with types and async client
- Idempotent requests — Idempotency-Key semantics and retention window
- Stack Overflow: stripe — Integration and troubleshooting questions
Articles
- 01 Cross-Border Payment Platform Comparison: PayPal / Stripe / LemonSqueezy / Paddle 07-18
- 02 Subscription Billing API Integration: Stripe Billing vs Recurly 07-18
- 03 Stripe Integration Tutorial: From Registration to First Payment 07-18
- 04 Stripe Radar Expansion: Fraud Protection Across All Payment Methods 08-05
- 05 2026 Payment Gateway Fee Comparison: Stripe / PayPal / Square / Adyen 07-18
- 06 2026 Cross-border Payment Comparison: Stripe vs PayPal vs Lemon Squeezy 07-18
- 07 Complete Stripe Payment Integration Guide: from basic checkout to subscription management 07-18
- 08 Stripe Projects Expands Agent Integrations: AI Agents Provision Infrastructure Safely 08-05
- 09 Stripe Pros and Cons: The Real Constraints Behind the Developer Experience 11-09
- 10 Stripe's New Global Payments Capabilities: Localized Checkout and Multi-Currency 08-05