I have the customer ID for a specific customer in Stripe. How can I retrieve all the charge objects for this customer?
The customer object can be retrieved using the following code:
Customer = stripe.Customer.retrieve(customerId)
Advertisement
Answer
This will do it
Charges=stripe.Charge.list(customer=customerId)