dockPI
← Back

Payment Processing, Payment Gateway, Subscription Billing

Stripe API

Stripe provides programmable payment infrastructure for accepting online payments, managing payment methods, issuing refunds, and tracking transactions. Its APIs also integrate with separate Stripe products for subscriptions, payment links, marketplace payments, and payouts.

Key features

  • Payment Intents API for payment authorization, confirmation, capture, and cancellation
  • Stripe Checkout and Payment Element for hosted or embedded payment collection
  • Card payments, digital wallets, bank payments, and region-dependent local payment methods
  • Customer and payment method tokenization for saved payment credentials
  • Stripe Billing integration for subscriptions, invoices, and recurring payments
  • Stripe Connect integration for connected accounts, transfers, and platform payouts
  • Webhooks for payment events, refunds, disputes, and subscription changes
  • Test mode, idempotency keys, and API versioning

Pricing

  • United States standard pricing: 2.9% + USD 0.30 per successful domestic card transaction. An additional 1.5% applies to international cards and 1% if currency conversion is required, according to Stripe's published US pricing. Other payment methods, including bank payments and buy-now-pay-later methods, have separate rates. Stripe Billing, Connect, Instant Payouts, and other products may have additional charges. Standard US payments pricing has no setup or monthly fee; custom pricing is available. Test-mode transactions are free and do not move real funds. Fees and merchant eligibility vary by country; the US rate must not be presented as a global rate. Official pricing: https://stripe.com/pricing

Best use cases

  • SaaS platforms requiring subscriptions and recurring billing
  • E-commerce applications needing customizable checkout
  • Marketplaces distributing payments among sellers
  • International businesses accepting supported local payment methods
  • Mobile applications requiring payment collection
  • Platforms automating refunds and payment reconciliation

Authentication method

Secret API keys authenticate server-side requests, typically using HTTP Basic authentication with the secret key as the username. Publishable keys are used in client-side integrations and are not substitutes for secret keys. Restricted keys support narrower permissions. Stripe signs webhook payloads, which can be verified using the Stripe-Signature header and endpoint signing secret. Connect OAuth is available for supported account connection flows.

Similar APIs