简体   繁体   中英

May I create multiple refunds for one PaymentIntent with Stripe?

I have a Spring Boot/Angular application and using Stripe for payments . Right now I'm moving from using Charges to PaymentIntent , and my question is: Is it possible to do multiple refunds for one PaymentIntent? For example, if I use one PaymentIntent for multiple products, can I later create 2, 3 or more refunds for this particular PaymentIntent.

This was easy with Charges since I was creating separate Charge for every product, but now I need to capture payment at once (with 3d verification). Any ideas?

A PaymentIntent contains a list of charges associated with it. To do multiple refunds, you'd just create a refund and specify an amount that's less than the total amount , using the charge from the PaymentIntent.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM