Refund a Checkout charge using the Stripe API
Find the charge ID in the PaymentIntent.
Use that charge ID to create a refund.
Additional Information
The older Charges API returns the ID in the ID field. The Payment Intents API returns the charge ID further down in the information of the Payment Intent
Issuing Refunds (Stripe Docs)
Did this answer your question?
Related articles