#manuel_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/1219747548613447682
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- manuel_api, 22 hours ago, 20 messages
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
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
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.
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?
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.
Stepping in for my teammate!
Any account details under individual will only be returned for Custom accounts: https://docs.stripe.com/api/accounts/object#account_object-individual
So this info won't be delivered via the webhook, correct?
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)
Ah, can you help me with that final point?
What point?
That /v1/accounts/:id won't work either
What should I call to get to that information, if not /v1/accounts/:id?
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
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.
Got it. Yes, you can use your own fields to collect this information. Then, you can either:
- pass it to us when creating the Account: https://docs.stripe.com/api/accounts/create#create_account-individual
- or, if the Account already exists, update the Account with the values you have: https://docs.stripe.com/api/accounts/update#update_account-individual
Note that you can only update these fields before creating the Account Link for onboarding