#nehm116_webhooks
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/1308502697078558752
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
for example for this txn for one of our connected accounts, what webhook or status can we use to tell our user in our own app that funds are "in trasnsit" and then "funds landed" to your external bank account
Hello! You probably want to examine the Balance Transaction associated with the payment: https://docs.stripe.com/api/balance_transactions
Specifically, the available_on timestamp: https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-available_on
available_on is "The date that the transaction’s net funds become available in the Stripe balance."
im referring to a status that the funds have been sent by stripe to the external bank account
or are you saying those dates are the same if daily payouts are enabled?
Oh, no, sorry, I misunderstood. To see when a Payout is going to land in an external account you'd look at the arrival_date on the Payout: https://docs.stripe.com/api/payouts/object#payout_object-arrival_date
You can use this approach to see which Charges are included in an automatic Payout: https://docs.stripe.com/expand/use-cases#charges-in-payout
got it so to link the charge/txn to understand what the status is, i would need to look at each automatic payout, then use List all balance transactions for that payout which then i will see which txn id's where included in that payout