#ren_api

1 messages ¡ Page 1 of 1 (latest)

fluid horizonBOT
#

👋 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/1245070965948547204

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

stable storm
#

Hello! Have you tried this in test mode? Are you seeing unexpected results there?

buoyant estuary
#

Hello

#

No, I am wondering if for WON or LOST disputes, is there guaranteed to be a balance_transaction in the array?

#

Since the API docs says a "List of zero, one, or two balance transactions ..."

stable storm
#

I don't think it's guaranteed, no.

buoyant estuary
#

Ah okay, so in this case, how would we get the lost dispute "fee" amount?

#

If there are no balance transactions (which holds the fee amount), linked to a dispute?

stable storm
#

If you lost and we charged a fee it would be on a Balance Transaction there.

buoyant estuary
#

So for all LOST disputes, it is guaranteed that there is a balance_transaction?

stable storm
#

There should be at least one for a lost Dispute, but I'm not going to guarantee it. There might be unusual circumstances, like a waved fee or something.

buoyant estuary
#

Ahh alright, so we should still guard against that. Thank you for the clarification!