#njord_connect-negativebalance
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1506685270614081587
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! give me just a bit, catching up on some other threads but i'll be with you soon
Certainly, thanks for taking a look!
ok sorry about that delay, looking at this now
hmmmm i am pretty sure the answer here is a no, but digging to see if i'm missing anything
ok yes i confirmed that it's not possible to conditionally issue a refund only when a debit succeeds to cover the missing balance
i think minimum balances would be the way to go if you want to guard against this case, but i'd also consider chatting with our support team as they know more about refunds + balances than my team here on the discord
Just another thought, would I be able to do the following? (Just brain dumping)
- Reverse the transfer associated with the refund (without issuing the refund)
- If the resulting reversal fails to debit the bank, don't process the refund yet
- Else, I know there was a successful debit pull, and I can create the Refund at that point
i do think that would be technically possible, although i'm not sure if your account has transfer reversals enabled (see link), and then people would need to wait for the debit to go through before getting a refund which could take a while
https://docs.stripe.com/connect/separate-charges-and-transfers#reverse-transfers
it also feels unclear to me what you'd do in the event where the debit fails
That's a good point. I'd have to reverse the action if the debit fails altogether somehow. I'd have to orchestrate the events. Wait for the debit via a webhook, initiate a refund on a webhook event, etc. Seems a bit messy.
I need to do my homework on whether I can roll back properly when the debit fails
If I initiate a transfer reversal not via the refund process, will the API debit their bank account to correct the negative balance, or is that something that only happens when done via the refund process?
Hi there, taking over for solanum here
njord_destination-failure
Yes we would debit their bank account on file if their balance was negative
njord_connect-negativebalance
Sorry, I've been in and out today a lot.
I think I have my answer here, unless there are other suggestions or concerns around this approach?
no that seems fine!
Thank you for your help