#solbass_webhooks

1 messages ¡ Page 1 of 1 (latest)

nocturne frostBOT
#

👋 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/1331311836867461171

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sterile kayak
fringe kernel
#

does it get fired when this updates?

#

and does it work for connected accounts that are business accounts?

#

and will it work if the transaction is pending?

sterile kayak
#

It will fire for connected accounts when their balance increases, yeah, but not when it decreases. It will fire for pending changes. Note that you need to listen for Events from connected accounts with a Connect Webhook Endpoint: https://docs.stripe.com/connect/webhooks

fringe kernel
#

so how would i know when it decreases?

#

also i set it up but im only getting events for regaular connected accounts not business type connected accounts

sterile kayak
#

I'm not sure what you mean by "business type connected accounts", can you provide more details or an example?

#

We don't fire any Event for balance reductions. You would need to use another approach for that, such as polling the API periodically.

fringe kernel
#

when i create the stripe account through the api, i attach this business_type: 'company',

#

and then i transfer funds from my stripe account to a business connected account, no webhook gets fired

sterile kayak
#

The business_type should have absolutely no impact on these Events or you listening for them. Can you give me the ID of a balance.available Event on one of these connected accounts that you expected to receive but didn't? It's the ID starting with evt_.

fringe kernel
#

i don't see an event id but here is the conneected account id acct_1QcDQGP1scqCFHNQ

sterile kayak
#

Are you trying to do this in test mode or live mode?

fringe kernel
#

live mode

#

and the webhook is set up

sterile kayak
#

There's only been a single balance.available Event on that account in live mode, and it happened many days before you created that Webhook Endpoint.

fringe kernel
sterile kayak
#

Screenshots from the Dashboard are not ideal. If you want to point me to something specific please provide the Stripe ID.

#

For example, can you give me the Payment Intent ID for that?

fringe kernel
sterile kayak
#

Also, it might help me more if you could explain what your ultimate goal is? Why do you want the balance info?

fringe kernel
fringe kernel
sterile kayak
#

Can you tell me more? I still don't understand why you need the balance info? Are you trying to display it somewhere? Are you trying to trigger some kind of process when something happens to the balance? Something else?

fringe kernel
#

Heres' the full run down, a company signs up on my website, sets up a connected account, they deposit $1000 into their 'balance' (which is me setting up a payment intent with a transfer destination to their connected account), now on my webstie i show them 'it's time to pay this person, you have $1000 to pay them' so i want to show them thier balance, and also update their balance after they pay them (if they need to pay someone $300, their balance becomes $700)