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.js 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!

Stripe.card.createToken({
  number: '',
  exp_month: 0,
  exp_year: 0,
  cvc: ''
}, function(status, response) {
  // response.id 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. Stripe supports 100+ currencies out of the box. In addition to credit and debit cards, Apple Pay, Android Pay, you can also easily support Bitcoin, Alipay, or Amex Express Checkout.

Manage recurring payments

Stripe makes recurring and subscription-based billing easy. Explore the tutorial 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 managed accounts via the API.

Sell your products on other apps

Expand your reach by selling your products directly within your customers’ favorite apps like Twitter or ShopStyle. 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.

We’re here to help!