Python library: Stripe

See also Stripe

Library resources
PyPI https://pypi.org/project/stripe/
Github https://github.com/stripe/stripe-python
Documentation https://www.youtube.com/playlist?list=PLy1nL-pvL2M55YVn0mGoQ5r-39A1-ZypO

Getting Started

pip install stripe

Video library on Youtube about the library!:

Usage

import stripe
stripe.api_key = "sk_test_..."

# list customers
customers = stripe.Customer.list()

# print the first customer's email
print(customers.data[0].email)

# retrieve specific Customer
customer = stripe.Customer.retrieve("cus_123456789")

# print that customer's email
print(customer.email)

Used in

Accountee

Accountee

links

social