salesforce
digitalocean
lyft
kickstarter

The Complete Toolkit
for Internet Business

Stripe builds the most powerful and flexible tools for internet commerce. Whether you’re creating a subscription service, an on-demand marketplace, an e-commerce store, or a crowdfunding platform, Stripe’s meticulously-designed APIs and unmatched functionality help you create the best possible product for your users. Hundreds of thousands of the world’s most innovative technology companies are scaling faster and more efficiently by building their businesses on Stripe.


Discover how businesses use Stripe

Developers First

We believe that payments is a problem rooted in code, not finance. We obsessively seek out elegant, composable abstractions that enable robust, scalable, flexible integrations. Because we eliminate needless complexity and extraneous details, you can get up and running with Stripe in just a couple of minutes.

const stripe = require('stripe')('sk_test_BQokikJOvBiI2HlWgH4olfQ2');

// Create your first payment from a test card.
const charge = await stripe.charges.create({
  amount: 2000,
  currency: 'usd',
  source: {
    number: '4242424242424242',
    cvc: '123',
    exp_month: 12,
    exp_year: 2018
  }
});
const stripe = require('stripe')('sk_test_BQokikJOvBiI2HlWgH4olfQ2');

// Save customer details and payment information.
const customer = await stripe.customers.create({
  source: token, // Token retrieved from Stripe.js, Checkout, or native apps.
  email: 'john@example.com'
});

// Charge or refund customers anytime using their saved payment details.
let charge = await stripe.charges.create({
  amount: 7999,
  currency: 'eur',
  customer: customer.id
});

charge = await stripe.charges.refund(charge.id, {
  amount: 1000
});
const stripe = require('stripe')('sk_test_BQokikJOvBiI2HlWgH4olfQ2');

// Create a monthly plan.
const plan = await stripe.plans.create({
  amount: 999,
  currency: 'usd',
  interval: 'month',
  name: 'Sapphire Complete',
  id: 'sapphire-complete-957'
});

// Subscribe the customer to the plan while applying a coupon.
const subscription = await stripe.subscriptions.create({
  customer: customer.id,
  plan: plan.id,
  coupon: '25OFF'
});
const stripe = require('stripe')('sk_test_BQokikJOvBiI2HlWgH4olfQ2');
const moment = require('moment');

// Fetch the latest transactions from the Stripe account.
const transactions = (await stripe.balance.listTransactions({limit: 75})).data;

// Check what was the most recent transaction.
const latestTime = moment(transactions[0].created * 1000).fromNow();
console.log(`Latest transaction: ${transactions[0].type}, ${latestTime}`);

// Plot the evolution of the Stripe balance in USD over the latest transactions.
let balance = 0;
const balancePlot = transactions.map(txn => balance += txn.amount / 100);

Full API Reference

Always Improving

Stripe is an always-improving toolchain that gains new features every month. Our world-class engineering team constantly iterates upon every facet of the Stripe stack. And from Apple Pay to Bitcoin, building on Stripe means you get early access to the latest technologies.

Learn about Stripe's products

Global Scale

We help power 100,000+ businesses in 100+ countries and across nearly every industry. Headquartered in San Francisco, Stripe has 10 global offices and hundreds of people working to help transform how modern businesses are built and run.

More about us
  • kickstarter
  • instacart
  • pinterest
  • lyft
  • shopify
  • opentable
  • slack

See our pricing

No setup fees, monthly fees, or hidden fees. With our predictable and transparent pricing, you’ll always know what you’ll pay.

Explore the docs

Start building your integration and accept your first payment in minutes. Stripe libraries are available in every language from Ruby to Go.

Ready to get started?

Get in touch, or create an account.