Re:Why switching from Stripe to Balanced has helped LaunchTr...
by jareau on Friday July 12, 2013 @06:49PM
(#6035816)
We (Balanced) are discussing this issue of mass payouts via CSV upload on a Github thread here: https://github.com/balanced/balanced-dashboard/issues/21#iss...
dylandrop's already commented, but would love to get others' input
In order to pay out to two separate people, you'd need to make 2 POST requests to transfers#create (at least as far as I can find in Stripe's documentation). I feel like instead of one transfer at a time, it should be both transfers at once. Say you have a cart with 5 items in it. That means 5 separate POST requests, when this seems kind of unnecessary -- why not send them and process them all at once? PayPal supports this behavior, so why not Stripe?
In other words, a request might look like
{ charges: [ {seller_id: 12, amount: 400}, {seller_id: 13, amount: 400}, {seller_id: 14, amount: 400}, {seller_id: 15, amount: 400} ] card_number: 1283123412341234 ... }