#anuj_api

1 messages ¡ Page 1 of 1 (latest)

distant gyroBOT
#

👋 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.

uneven patio
supple whale
#

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?

uneven patio
#

Yes.

#

I first create transfer object then issue payout

#

StripeAPI is my helper class

supple whale
#

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.

uneven patio
#

Wait let me check the funds in the account

#

So, you mean even when testing in sandbox, there should be some amount?

supple whale
#

Yes. Also the balance is 0 now because an automatic payout happened for the account on 2026-03-01 13:20:38 (po_1T69vE2RQYoAQULmjeFXcBvx).

uneven patio
#

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

distant gyroBOT
supple whale
#

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.

supple whale
# uneven patio Not sure what you mean

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.

uneven patio
#

I will have to check that

#

How to check that and change to manual? Could you please refer me to some documentation?

supple whale