#civo_balance-transaction-availability

1 messages ยท Page 1 of 1 (latest)

warm mantleBOT
#

๐Ÿ‘‹ 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/1270045199510278194

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

stuck charm
solar surge
#

Is it linked to a charge/s?

stuck charm
#

Here is the description from the doc I provided

Occurs whenever your Stripe balance has been updated (e.g., when a charge is available to be paid out). By default, Stripe automatically transfers funds in your balance to your bank account on a daily basis. This event is not fired for negative transactions.

#

For the Balance Transaction you provided, it is not expected to be available until 8/7 so I would not expect it to have triggered an event yet

solar surge
#

In this object event unfortunately I can't reconciliate a previous 'pending' balance_transaction

stuck charm
#

If you are attempting to reconcile individual balance transactions you could wait until you receive the balance.available event and then trigger a polling of Balance Transactions using the List API
https://docs.stripe.com/api/balance_transactions/list

That way you can reduce the polling to only when funds have become available but still get the granularity you want.

#

You'd still poll the API, but you would only do it when you know something has changed.

solar surge
#

Ok this sounds better instead of polling every x hours..

#

Last question

#

How reliable is the 'available_on' property in the balance_transaction?

stuck charm
#

The availability is derived for our own internal processes so it should be very reliable but we do not make any specific guarantee either.

solar surge
#

Ok... the very last question now ๐Ÿ˜„

#

Why the state of this balance_transaction (txn_3PLfYvBHlcEWpgCk1B8oqsst) is 'available'? The related charge is failed!

stuck charm
#

The only possible statuses for a Balance Transaction are pending and available. This means the Balance Transaction was created.

Unfortunately I do not have more details on the specifics of this balance transaction. For those you would need to reach out to Support https://support.stripe.com/contact

solar surge
#

Ok thank you โค๏ธ

stuck charm
#

Happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚