#njord_connect-negativebalance

1 messages ¡ Page 1 of 1 (latest)

steep fossilBOT
#

👋 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.

sage surge
#

hello! give me just a bit, catching up on some other threads but i'll be with you soon

gloomy flax
#

Certainly, thanks for taking a look!

sage surge
#

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

gloomy flax
#

Just another thought, would I be able to do the following? (Just brain dumping)

  1. Reverse the transfer associated with the refund (without issuing the refund)
  2. If the resulting reversal fails to debit the bank, don't process the refund yet
  3. Else, I know there was a successful debit pull, and I can create the Refund at that point
sage surge
#

it also feels unclear to me what you'd do in the event where the debit fails

steep fossilBOT
gloomy flax
#

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?

steep fossilBOT
whole kite
#

Hi there, taking over for solanum here

south pond
#

njord_destination-failure

#

Yes we would debit their bank account on file if their balance was negative

#

njord_connect-negativebalance

gloomy flax
#

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?

south pond
#

no that seems fine!

gloomy flax
#

Thank you for your help

steep fossilBOT