#kevinx9999_webhooks

1 messages ¡ Page 1 of 1 (latest)

night sparrowBOT
#

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

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

wary plume
#

Just want to confirm where to find the customer standard account ID

abstract heronBOT
wary plume
#

Hello Vanya

chrome temple
#

You get the Account ID in the response of the request you shared.

#

Also, you can listen to account.updated webhook event, however, note that you need to create a webhook endpoint that listens to events on your Connected Accounts.

wary plume
#

I don't see accountid exactly but just ID in account object

#

thanks for the help btw

#

yes, I have an endpoint that listens to the webhook events

#

is this id in the first line standard account id?

chrome temple
#

Yes, acct_xxx

wary plume
#

great, thank you!

#

one more quick question, if payouts_enabled is true, charges_enabled must be ture as well right?

#

so I just need to listen to payouts_enabled

#

Connect account.application.authorized what is this used for?

chrome temple
chrome temple
wary plume
#

event.account is an ID too, what is this id for?

chrome temple
#

Not sure if it fires when you create accounts directly too.

chrome temple
wary plume
#

I see, so to track if a standard account is approved, which id should I use

chrome temple
#

It should be the same ID for the account.updated event, so any.

wary plume
#

Got you, thanks, have a good one there

chrome temple
#

Happy to help.
You too!