#louis_balance-trx
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/1245659253713408010
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi
I think you are looking at the. available_on field:
https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-available_on
Would that field be set on the correct value even if the bank sends the funds late?
Yes I think so, because the amount will be available in your Balance only when received
Ok I was confused by the wording "become" and here I understood that the value wouldn't change ("The Balance Transaction available_on dates will remain constant throughout this change."), implying that the field value is known when the payment is created
But now I think it just meant that during the migration process, available_on wouldn't change for existing payment?
Thanks
๐ taking over for my colleague. Let me catch up.
I think you're confusing two concepts
the Stripe Balance availability and the Payout date
the Stripe Balance availability is when the amount will be available in your Stripe Balance
Yes I am talking about stripe balance availability (customer funds -> Stripe balance), not payment date (Stripe balance -> our bank account)
ok perfect
then as my colleague suggested the available_on field is the one you're looking for
Is there a maximum delay between balance_transaction.created and balance_transaction.available_on?
Like if it takes too long it is marked as failed and funds will be refused by stripe afterwards if they still arrive?
Or, better, is there a way to fetch balance transactions where available_on is is the past?
Is there a maximum delay between balance_transaction.created and balance_transaction.available_on?
it depends on the LPM
Like if it takes too long it is marked as failed and funds will be refused by stripe afterwards if they still arrive?
if the charge has succeeded this won't happen
and if you're using the latest API version you'll be using by default the automatic_async capture method which is explained here https://docs.stripe.com/payments/payment-intents/asynchronous-capture#opt-in-async-capture
Sorry I don't know what LPM is?
LPM = local payment methods
Concerning SEPA debit do you know this delay?
the balance transaction won't be created until the charge has succeeded anyways
Even after https://support.stripe.com/questions/changes-to-balance-transaction-behavior-for-debit-payment-methods?locale=en-US ? We received an email about this and SEPA debit
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
sorry I meant won't be available
Ok, thanks for your answers, I'll try to find a solution
what are you trying to solve?
Our accountant wants invoices only for payment that are in the Stripe balance, so we have to manually create invoice serial numbers for only the payment that are in the Stripe balance (instead of when the payment is created). Before the "Changes to Balance Transaction behavior for debit payment methods", we could reliably create this because every balance transaction created was indeed available in the balance transaction.
Now I think I will have to add a delay that could be variable when payments take longer, but this will delay all other invoices
(these invoices are thus internal to our system, we don't use Stripe Invoices)
you can just filter those that don't have any available_on
Yes and I would keep in memory the earliest "pending" invoice
Filtering instead of waiting would need some code refactoring and e already add a static delay of 14 days before invoice creation because of another legacy payment provider, so I'll just wait for balance transactions to be available and we'll assess from there ๐
Last question : before the "Changes to Balance Transaction behavior for debit payment methods", would balance_transaction.available_on always be equal to balance_transaction.created ?
yes
Thanks
Does this impact balance transactions of reporting category "refund" too? (will the available_on property be != created?)
no it's only for the BT associated with the payment