Stripe Documentation

Welcome to Stripe! Get familiar with the Stripe products and tools using the tutorials and references below.

Try Now

Try the Stripe API in seconds. Create your first customer, charge, and more by following the steps below.

  • 1Card
  • 2Customer
  • 3Charge
  • 4Plan
  • 5Subscription
  • 6Success!

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!

  number: '',
  exp_month: 0,
  exp_year: 0,
  cvc: ''
}, function(status, response) {
  // is the card token.

Get 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.

On your website

Start accepting payments on your website with our JavaScript libraries. Learn more

In your mobile app

Integrate our iOS & Android SDKs, which support Apple Pay and Android Pay. Learn more

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. Read the guide to learn how to suit subscriptions to your business with invoices, pricing, discounts, and more.

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 physical or digital products

Stripe has powerful support for selling physical and digital products. Explore the tutorial to create your first product and order. Read the guide to learn how to automatically calculate shipping and tax and manage orders.

Start selling 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.