from stripe import StripeClient
client = StripeClient("sk_test_...")
# list customers
customers = client.customers.list()
# print the first customer's email
print(customers.data[0].email)
# retrieve specific Customer
customer = client.customers.retrieve("cus_123456789")
# print that customer's email
print(customer.email)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter