#object #url #card #account #tax #address #status #detail #amount


A fully generated & opinionated API client for the Stripe API

6 releases (breaking)

0.7.0 Jul 19, 2023
0.7.0-rc.1 Jun 12, 2023
0.4.0 Mar 31, 2023
0.3.1 Nov 18, 2022
0.1.0 Apr 5, 2022

#27 in Finance

42 downloads per month

MIT license

52K SLoC


A fully generated, opinionated API client library for Stripe.


API Details

The Stripe REST API. Please see https://stripe.com/docs/api for more details.

API Terms of Service


name url email
Stripe Dev Platform Team https://stripe.com dev-platform@stripe.com

Client Details

This client is generated from the Stripe OpenAPI specs based on API spec version 2020-08-27. This way it will remain up to date as features are added. The documentation for the crate is generated along with the code to make this library easy to use.

To install the library, add the following to your Cargo.toml file.

dolladollabills = "0.7.0"

Basic example

Typical use will require intializing a Client. This requires a user agent string and set of credentials.

use dolladollabills::Client;

let stripe = Client::new(

Alternatively, the library can search for most of the variables required for the client in the environment:


And then you can create a client from the environment.

use dolladollabills::Client;

let stripe = Client::new_from_env();


~609K SLoC