#michael-harvey_webhooks

1 messages ¡ Page 1 of 1 (latest)

limpid narwhalBOT
#

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

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

dusky trellis
#

I'm assuming by Merchant you're referring to the Connected Account right?

west venture
#

yes

#

how do I parse the account?

#

I mean, can I get an example of the account object?

dusky trellis
west venture
#

is it possible to trigger an event using the stripe cli which includes an associated account?

dusky trellis
#

What are looking to achieve? Are you to retrieve an account object once you identified the account from the webhook event you receive?

west venture
#

yes

dusky trellis
west venture
#

ok, but how do i get the account from the event received from the webhook? is it just stripeEvent.account?

#

where stripeEvent is Stripe.Event?

dusky trellis
#

account is a top-level property of the webhook event so it should be stripeEvent.account

west venture
#

and this will give me the account id? such as acct_1QWpZVR7Vqz3zJ8D

dusky trellis
west venture
#

ok, cool!