#manuel_webhooks

1 messages ¡ Page 1 of 1 (latest)

median chasmBOT
#

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

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

runic lanceBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

crystal cobalt
#

Hello
The request you're making to /v1/account_links only creates a URL where your end user can complete onboarding

Once they're done onboarding, you should receive an account.updated webhook event (assuming you're listening for the event on a connect type webhook endpoint)

#

The event payload should be an Account object with the relevant details associated with the account

safe lake
#

Understood - I think I got that far.

This screenshot has the Webhook I created, and I can see it being trigerred more or less every time the user fills in some fields.

#

But when going through the data provided by the given webhook (on the right-hand side), I am struggling to find the Name, Phone Number and Email

median chasmBOT
safe lake
#

E.g. I created this user, and I placed the name there for sure, however it is coming as 'null' so I suspect there might be another spot to find it.

crystal cobalt
#

There are some details which are not returned for security reasons.

#

Are you looking for name and phone number of the person onboarding OR the business related stuff under business profile?

safe lake
#

The user who is onboarding is onboarding an "individual/sole trader" account, so their name, phone number and email should be the same - in fact, on the onboarding flow via the URL I get from /v1/account_links there is only 1 request for that sort of information.

swift breach
#

Stepping in for my teammate!

safe lake
#

So this info won't be delivered via the webhook, correct?

swift breach
#

Correct, nor will you be able to retrieve it by making a call to /v1/accounts/:id

#

(I see you're working with Express accounts)

safe lake
#

Ah, can you help me with that final point?

swift breach
#

What point?

safe lake
#

That /v1/accounts/:id won't work either

#

What should I call to get to that information, if not /v1/accounts/:id?

swift breach
#

You won't be able to retrieve this information at all. Platforms can only access this information (either via Events/webhooks or by making a call to retrieve the Account) for Custom connected accounts

safe lake
#

Gotcha!!!

#

Makes sense, one final question

#

Provided I cannot get this information out of Stripe when using Express accounts, can I send it to Stripe ahead of the URL onboarding link?

I already have a step where right after creating the account link I add a number of fields to the account (i.e. country = PT, business_profile[product description], [mcc], etc.). May this Individual info be another field I add?

#

Basically, I need the user's info in my Airtable - either I would ask the user to fill it in Stripe and then send to Airtable; or get it to fill in Airtable and send it to Stripe. What I want to avoid is the user typing it twice in a matter of moments.

swift breach
safe lake
#

This is great

#

Thank you - yep, this needs to go in before the Account Link is created. Noted

#

Thank you! Feel free to close the ticket