#kanwardanial_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/1288085820024295494
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi Vanya,
Connected Account
You mean when the account completes onboarding?
What exactly the field that i need to fetch for account status, and in which event
Event means webhook event
I go through on dashboard but its not give me some clear insight.
An account doesn't have a single field for status. That's why I am asking about the actual use case you have in mind.
Use case is I need to hide and show button if account status is completed "means its able to received money" what are those cases, and if not able to receive money then i want to hide that button on my site
Got it, charges_enabled and payouts_enabled is what you're looking for:
https://docs.stripe.com/api/accounts/object#account_object-charges_enabled
https://docs.stripe.com/api/accounts/object#account_object-payouts_enabled
so in webhook event account.updated i can look for these two values if both are true then this account is able to received funds is that what you mean?
Yes
And if anyone is false its not able to receive fund?
and there must be something required or due or pending
Yes, you will find the details in requirements: https://docs.stripe.com/api/accounts/object#account_object-requirements