Title: Handling Negative Payments in Stripe for Retainer Payments
Question: I am currently integrating Stripe into my payment system, where I accept payments from customers online. Additionally, I also collect retainer payments from clients in cash. My goal is to handle negative payments when the retainer amount exceeds the actual order price. For instance, if a client pays a $20 retainer for a $10 order, I need to refund the $10 excess to the customer.
I've reviewed the documentation provided by Stripe, but I haven't found a solution that fully addresses this scenario.
Could someone please advise on the available approaches or best practices for handling negative payments in Stripe when dealing with retainer payments? Any insights, code examples, or suggestions would be greatly appreciated.
Thank you!