API Libraries

We work hard to keep our underlying HTTP API simple, but there are also lots of pre-built libraries for interacting with Stripe. If you write your own library and would like us to link to them, just let us know.

Python

Available through pip:

sudo pip install --index-url https://code.stripe.com --upgrade stripe

If your system doesn't have pip, you can also use easy_install:

sudo easy_install --index-url https://code.stripe.com --upgrade stripe

Check out the Python API docs, or see the source on GitHub. While code.stripe.com is the preferred installation source, you can also find the Stripe package on PyPI.

Ruby

Available as a gem:

sudo gem install --source https://code.stripe.com stripe

If you use bundler, you can use this line:

gem 'stripe', :git => 'https://github.com/stripe/stripe-ruby'

Check out the Ruby API docs, or see the source on GitHub.

PHP

Download the source and load in your PHP application: stripe-php-latest.tar.gz, stripe-php-latest.zip.

Check out the PHP API docs, or see the source on GitHub.

Java

For Maven, add the following dependency to your POM:

<dependency>
  <groupId>com.stripe</groupId>
  <artifactId>stripe-java</artifactId>
  <version>1.12.0</version>
</dependency>

In other environments, manually install the following JARs:

Check out the Java API docs, or see the source on GitHub.

Node.js

Install via npm:

npm install stripe

Check out the node.js API Docs, or see the source on GitHub

iOS

Check out our iOS documentation.

Community Libraries

There are a lot of community-supported libraries for Stripe; we've listed some of them below. (Please get in touch if we're missing any!)

Third Party Plugins

Want to make an existing tool better with Stripe? Here are some plugins to help you get started without any programming needed:

Implemented your own library or an example you'd like to share? Send a link to your code to support@stripe.com and we'll be happy to add it to the list!