Payments
A complete set of APIs to accept online payments.
Subscriptions
Manage every aspect of your recurring billing.
Connect
Build a marketplace and get people paid.
Relay
Sell products directly within other mobile apps.
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!
Stripe.card.createToken({
number: '',
exp_month: 0,
exp_year: 0,
cvc: ''
}, function(status, response) {
// response.id 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 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.
Install Stripe plugins for third-party software
As well as the official API libraries listed above, there are a number of third-party plugins and libraries built by our community, such as for WordPress and Drupal. Learn more
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. Learn more