Documentation
Welcome to Stripe! Get familiar with the Stripe products and explore their features:
Try Now
Try the Stripe API in seconds. Create your first customer, charge, and more by following the steps below.
As a first step, credit card information is sent directly to Stripe, ensuring sensitive data never hits your servers. The code below creates a token with Stripe Elements for the test card 4242 4242 4242 4242.
You can immediately perform a one-time charge, but by storing it on a customer, the payment method can be used for repeat charges. Let's create the customer using your token.
Now that you have a customer and securely stored their credit card information, you can easily charge this customer anytime. Try creating a charge for .
If your business uses subscriptions, Stripe makes it simple to bill customers on a recurring basis. Let's start by creating a plan named for .
You can now easily link your customer to this new plan to create a subscription. Stripe will handle the recurring billing automatically for you.
That's it! You've created your first customer, your first charge, as well as your first plan and subscription. Happy coding!
var stripe = Stripe('pk_test_6pRNASCoBOKtIshFeQd4XMUh');
var elements = stripe.elements();
var card = elements.create('card');
card.mount('#card-element');
var promise = stripe.createToken(card);
promise.then(function(result) {
// result.token is the card token.
});
Getting started
Stripe helps you create any type of payments flow—from e-commerce to recurring billing and everything in between.
Accept payments
Stripe enables you to accept payments in minutes. Collect your customers' payment information easily and securely on web or mobile, and create charges server-side in 100+ currencies. Users in the United States can accept Visa Mastercard American Express Discover JCB Diners Club credit and debit cards.
Stripe also supports a range of additional payment methods, including 3D Secure, ACH debits, Apple Pay, and Android Pay.
On your website
Start accepting payments on your website with our JavaScript libraries.
In your mobile app
Integrate our iOS & Android SDKs, which support Apple Pay and Android Pay.
Manage recurring payments
Stripe makes recurring and subscription-based billing easy. Explore the quickstart to get going quickly and subscribe your first customer to a plan.
Build a marketplace
Whether you're building a platform that needs to get sellers paid or building applications to do more with Stripe data, you can use Connect. Learn how to connect to accounts and let Stripe handle the sign up process, or choose to customize your users' experience by creating Custom accounts via the API.
Sell your products on other apps
Expand your reach by selling your products directly within your customers' favorite apps. Read the guide to add products to your Stripe account and connect to any number of apps.
Not a developer?
A custom Stripe integration requires you to either be or hire a developer. But you can use Stripe through any number of third-parties.
Plugins for third-party software
There are a number of third-party plugins and libraries built by our community, such as for WordPress and Drupal.
Use Stripe from other services
Stripe has lots of third-party integrations which require no programming, hosting, or complicated setup on your behalf, such as Shopify and Wufoo.