Payment processing, subscriptions, and financial management.
Stripe's API is a REST-based interface for processing payments and managing related financial operations. It provides resource-oriented endpoints covering accounts, charges, customers, payment intents, subscriptions, invoices, payouts, transfers, and connected accounts, among other resources. The API accepts form-encoded request bodies and returns JSON responses, using standard HTTP status codes and verbs, and requests must be made over HTTPS.
Authentication is handled through API keys, which are viewable and manageable in the Stripe Dashboard. Test mode secret keys (prefixed sk_test_) provide unrestricted access to sandbox environments, while live mode supports both a full-access secret key (sk_live_) and restricted API keys (rk_live_) scoped to specific permissions. Sandboxes allow developers to test API calls without affecting live data or interacting with banking networks; sandboxes support all v2 APIs, while test mode sandboxes support only some v2 APIs.
The API does not support bulk updates, limiting each request to a single object. Errors are communicated via standard HTTP response codes (2xx for success, 4xx for client-side request errors, 5xx for server-side errors) along with a structured error object containing fields such as error type, code, message, and, where applicable, references to related objects like payment intents. Official client libraries are available for Ruby, Python, PHP, Java, Node.js, Go, and .NET. This reference is intended for developers integrating Stripe's payment and billing functionality into their applications.
Stripe offers official client libraries for Ruby, Python, PHP, Java, Node.js, Go, and .NET.
Requests are authenticated with API keys, which can be unrestricted test/live secret keys or restricted keys scoped to specific permissions.
Yes, Stripe sandboxes let you use the API without affecting live data or interacting with banking networks; sandboxes support all v2 APIs while test mode sandboxes support some v2 APIs.
No, the Stripe API doesn't support bulk updates and only allows working on one object per request.
Yes, all API requests must be made over HTTPS since calls made over plain HTTP fail.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Market data for stocks, forex, crypto, commodities and DEX.
Gain access to set of <SmartAPI> and create end-to-end broking services.
Real-Time, Intraday & Historical Market Data, News and Sentiment API.
One API across markets, economics, commodities, climate, government, and global news. 1,400+ endpoints, 146 primary sources, LLM-ready JSON.
Real time financial market data.
US equity/option market data (delayed, intraday, historical).