S

Stripe API

by Stripe Free tier

Stripe's API powers payments for millions of businesses. Accept cards, bank transfers, wallets, and 135+ currencies. Build subscription billing, usage-based pricing, invoicing, and marketplace payouts. Webhook-driven architecture with idempotency for reliability.

paymentssubscriptionsinvoiceswebhooksconnect

Quick Reference

Base URL https://api.stripe.com/v1 Auth type Basic Auth Auth header Authorization: Basic base64(sk_live_...) Rate limit 100 read / 100 write requests/s Pricing Pay per use Free quota None Documentation https://stripe.com/docs/api Endpoint status Server online — HTTP 404 — server is online but path returned an error (may require auth)210ms (checked Mar 29, 2026) Builder score B 70% builder-friendly
Pricing
75
Latency
45
Depth
86

Authentication

Use HTTP Basic Auth with your secret key as the username. No password needed.

Authorization: Basic base64(sk_live_...)

Pricing

Model pay-as-you-go Starting price Pay per use Free quota None Unit cost $2.9000 per 10,000 transaction value (2.9% + $0.30)
PlanPrice/moIncluded
Standard Free No monthly fee, pay per transaction
Custom $0 Negotiated rates for volume

Online cards: 2.9% + $0.30/transaction. In-person: 2.7% + $0.05. Stripe Connect: +0.25% + $0.25/transfer. Custom pricing for volume.

Key Endpoints

MethodPathDescription
POST /payment_intents Create a PaymentIntent
POST /payment_intents/{id}/confirm Confirm a PaymentIntent
POST /customers Create a customer
POST /subscriptions Create a subscription
POST /invoices Create an invoice
GET /charges List all charges
POST /refunds Create a refund
POST /webhook_endpoints Register a webhook endpoint

Sample Request

curl https://api.stripe.com/v1/payment_intents \
  -u "sk_test_4eC39HqLyjWDarjtT1zdp7dc:" \
  -d amount=2000 \
  -d currency=usd \
  -d "payment_method_types[]"=card

Sample Response

{
  "id": "pi_3MtwBwLkdIwHu7ix28a3tqPa",
  "object": "payment_intent",
  "amount": 2000,
  "currency": "usd",
  "status": "requires_payment_method",
  "client_secret": "pi_3Mtw..._secret_...",
  "created": 1680800504
}

Data sourced from API Map. Always verify pricing and rate limits against the official Stripe documentation.