#ANNA-SUN-Invoice-refund
1 messages · Page 1 of 1 (latest)
Hi there! The PaymentIntent is associated with the invoice so you can retrieve the invoice to find the paymentintent and then refund that paymentintent (which will refund the paymentmethod that was used to pay the invoice/paymentintent initially): https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
Great! So just need the Payment Intent and im good at the end of the day?
Yep! You just refund based on the PaymentIntent: https://stripe.com/docs/api/refunds/create#create_refund-payment_intent