#josando-credit
1 messages ยท Page 1 of 1 (latest)
Hi again ๐ I totally understand your use case, and thinking about a combination of Coupon+PromoCode. Please bear with me when I am looking around...
Hmm but $50 doesn't fix how much can use with each seller, correct? Like your customer has the freedom to use all $45 on Seller A
That is correct. The Buyer can decide how much to buy from each Seller, and can even use all the credits on one Seller.
Our Coupon API is not flexible like that, but I can think of a way you could implement this Coupon system yourself
- Charge your customer $50 normally, then within your system issue them $50 credit
- For each Payment happens on Sellers, validate the time/calculate the applicable amount and modify the Payment amount accordingly, and record in your system
- In the end of time, take your record history and create Transfer to your connected Account accordingly.
You can freely create Transfer to move funds to your Connected Account, using the Transfer API: https://stripe.com/docs/api/transfers/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.