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 it, just let us know.

Stripe has official libraries for different programming languages and mobile platforms. There are also many more third-party libraries and plugins created by the Stripe community.


Available as a gem:

sudo gem install 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.


Available through pip:

sudo pip install --upgrade stripe

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

sudo easy_install --upgrade stripe

Check out the Python API docs, or see the source on GitHub. You can also find the Stripe package on PyPI.


The PHP library is installed via Composer. Simply add "stripe/stripe-php" to your composer.json file:

  "require": {
    "stripe/stripe-php": "3.*"

Alternatively, you can download the source directly.

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


Install via npm:

npm install stripe

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


For Maven, add the following dependency to your POM:


In other environments, manually install the following JARs:

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


Install via go:

go get github.com/stripe/stripe-go

Then simply import the package:

import (

For more details, check out the Go API docs and GoDoc, or see the source on GitHub.


Check out our iOS documentation.


Check out our Android documentation.

Community libraries

Find some of the many community-supported libraries available for Stripe listed below.

Third-party plugins

Want to make an existing tool better with Stripe? Here are some resources for popular content management systems to help you get started without any programming needed: