#dan_api
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/1294211487136616550
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! I'm not sure I completely understand the question. If it's a case of tracing the funds/investigating why certain payouts might not have arrived, I'd suggest a support ticket at https://support.stripe.com/?contact=true , the support team can help(there can be things like outages/bank delays/holidays etc)
I suppose the main question, is that I initiated my transfers last night on this account via the API at midnight: acct_1PyFVARJkvZ6UxaR
Which had an instant balance to payout, but the payout wasn't initiated.
I had a quick look at your first example and all the logs/tooling I know how to look at seem to imply it was processed as an instant bank transfer with no obvious errors, but there are teams who specialise in this
what does "not initiated" mean specifically?
By not initiated, I mean, the API sent the request to make the payout, but the connect account contacted us this morning to say they'd not received funds. When I checked the Stripe account, I could see there was £220 in their instant balance, which I then ran a payout from the dashboard for them.
But this should have been done automatically by my app last night, I can see the requests were sent at the right time
I don't see such an API request in the logs for that account, maybe your code never made it? What logs do you have about that on your side?
That's useful to know, becuase I see 11 payout requests were made at midnight, but annoyingly, I can't see which accounts they are for. They also have a payout ID in the response, but when I clic this from the Stripe Dashboard, it tells me the payout can't be found.
yes because they exist on the connected account
sounds like you should improve your logging/observability, at the time you make the request you know what account you're acting on (since you have to pass it in the Stripe-Account header on the API request) so you can write logs that indicate "tried to initiate payment on #{account} , Stripe request ID was #{req_xxx} and payout was #{payout_id}"
on that account you mention the last time I see your integration calling /v1/payouts was 1st Oct
Thanks, noted. That was the last one for that account by my app, Oct 1st?
Could this be because Stripe's daily payout schedule kicked in before my apps, resulting in there being no balance to payout by the time it come to my app running a payout, in which case, making them all "manual" this would stop this?
yes
;
that account is not on automatic payouts so it can't be that no
I only updated that setting last night manually in the dashboard. Nevermind, will re-look at my script and adding more logging, alerts as advised. Thanks for your time.
no, it was on manual payouts always as far as I see
No, it was daily, I changed it yesterday.
hmm. If it's on automatic daily payouts then I don't understand why you'd ever be calling /v1/payouts to try and create payouts then
Yes, it was an oversight. I added the payouts on my app side after setting everything up and forgot to change all other accounts to "manual"
but ok yes, I see what you mean, you did only make it manual yesterday, the other tool I was looking at is wrong apparently
This has been done now
to be clear the last time I see your code making a call on this account was at 2024-10-09 23:01:01 when you checked balance->retrieve() , prior to that you were calling that endpoint at that time every day, but that was the last time