#anuj_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/1480465882382602463
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! I see both the transfer request (req_zNes32vG3WLi0M) and the payout request (req_Z8PU2H9xwSJQtw) were made at the same time 2026-03-01 07:54:00 UTC. Did you try to create a payout after the transfer request?
Yes.
I first create transfer object then issue payout
StripeAPI is my helper class
I understand but the request shows they both happened at the same time. I would suggest checking if the connected account has sufficient balance via the /v1/balance endpoint (https://docs.stripe.com/api/balance) before creating a payout.
Wait let me check the funds in the account
So, you mean even when testing in sandbox, there should be some amount?
Yes. Also the balance is 0 now because an automatic payout happened for the account on 2026-03-01 13:20:38 (po_1T69vE2RQYoAQULmjeFXcBvx).
Not sure what you mean
I am handling the payout logic in celery. But the celery task failed.
Not sure how the payment went through
You created the transfer and payout request together. I am suggesting that you create the transfer request, then check for the balance on the connected account, and if there is available balance then only you should be creating the payout.
Is your connected account on automatic or manual payouts? If it is on automatic payouts, payouts will be automcatically created and you may not be able to test manual payouts.
I would also suggest updating the connected account's payout settings to manual.
I will have to check that
How to check that and change to manual? Could you please refer me to some documentation?
You can retrieve the connected account and check this: https://docs.stripe.com/api/accounts/object#account_object-settings-payouts-schedule-interval