#Cappuccino
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
you can list refunds by payment_intent https://stripe.com/docs/api/refunds/list#list_refunds-payment_intent which is available on the invoice.payment_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so if you want all the refunds for a subscription ID you would have to first list all Invoices of a subscription, extract their payment_intents and then list refunds per PaymentIntent
Thanks! I will try