stripe-payments

List all customers via stripe API

List all customers via stripe API Question: I’m trying to get a list of all the customers in my stripe account but am limited by pagination, wanted to know what the most pythonic way to do this. customers = [] results = stripe.Customer.list(limit=100) print len(results.data) for c in results: customers.append(c) results = stripe.Customer.list(limit=100, starting_after=results.data[-1].id) for …

Total answers: 1