#Daniele
1 messages · Page 1 of 1 (latest)
Hello 👋
We have an endpoint for listing all subscriptions
https://stripe.com/docs/api/subscriptions/list
From there you can look up all the invoices using the subscription IDs
https://stripe.com/docs/api/invoices/list
and check the PaymentIntent
https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
You should be able to use the PaymentIntent for to issue a refund
https://stripe.com/docs/api/refunds/create