Open jbrowning opened 9 years ago
@jbrowning Thanks for creating this issue. We are definitely aware of this scenario and happy to share our plan to allow marketplaces to add funds to orders. We are also interested in hearing your experience with Settlements so far. Would you be willing provide some early feedback over Google Hangouts?
@kyungmin I'd be glad to. You can find my contact info in support request #19918.
I'm planning a migration to the new
Order
,Account
, andSettlement
constructs and I'm considering the following payout/refund scenario. This is based on the documentation located here and here.Seller
BankAccount
.Marketplace
BankAccount
orCreditCard
(push-to-card)Does not take a fee from purchases
Order
s and create aCredit
for each one into the seller'sAccount
.Settlement
for theAccount
which succeeds. Everything is awesome until a buyer demands a refund.Credit
to the Seller'sAccount
associated with the buyer'sOrder
. This results in an immediate successful restoration of the fullamount_escrowed
in theOrder
and a negativebalance
in the seller'sAccount
.Debit
.Settlement
to restore the seller's negativeAccount
balance
(we're assuming they haven't received any newOrder
s to restore their balance). ThisSettlement
fails. This could be due to a number of reasons:In any case I am now left with a seller's
Account
with a negative balance. I am not able to restore that balance to 0 because I may not be able to obtain a newBankAccount
from my seller. Additionally, the seller may have switched to a new payout method (such as push-to-card) and no longer has an activeBankAccount
. In any case, I now need a new source of funds to cover the seller's negativeAccount
balance
.This scenario is alluded to in @mjallday's comment here: https://github.com/balanced/balanced-api/pull/707#issuecomment-62575260 but, based on my back-and-forth with support, this flow does not seem to have been sufficiently resolved.
The solution that support has suggested is to create an new
Debit
against theOrder
with my marketplaceBankAccount
to fill theOrder
amount_escrowed
and then create aCredit
to bring the seller'sAccount
balance back to 0. Remember, my marketplace does not take a transaction fee. This is a hack. This is not a scalable solution.There was mention in #707 of https://github.com/balanced/balanced-api-private/issues/13 helping in this regard but I of course cannot see what that issue contains. :wink:
I propose an API which allows the marketplace to settle any seller negative
Account
balances.