#shayan_api
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/1437385630635262053
๐ 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.
- shayan_api, 5 days ago, 60 messages
๐ Hi there. Yes account links should work for this purpose. Any documents required should then be requested once they follow the link
okay can you pls tell me the best way to handle account links
which account type i need to use
Actually, for custom onboarding, an overview of the flow is outlined here: https://docs.stripe.com/connect/handle-verification-updates#onboarding-flow-options
When a user is redirected to the account link and completes all the required information, how can our backend know that the account has been verified by Stripe after they return to our app?
You should listen for the account.updated event, there's some info on this further on in the doc above: https://docs.stripe.com/connect/handling-api-verification#determine-if-verification-is-needed
got it
can you pls help me to find account.updated event
Can you see the events in your Stripe Dashboard in Workbench? https://docs.stripe.com/workbench/guides#filter-events
let me check
Can you confirm which account you're logged into please?
these account.updated events occur on your connected accounts - so if you're checking events on your platform account, you won't find these
if you're logged into acct_1PdYWhRu0RZUfiXw, you should be able to access this link to see a recent account.updated event for acct_1SRrjNRvsXfgRBT9
yes i am on platform account
do you see the event when opening the URL above?
yes
const returnUrl = `${process.env.APP_BASE_URL}/client/return.html`; const refreshUrl = `${process.env.APP_BASE_URL}/client/refresh.html`; const accountLink = await this.stripe.accountLinks.create({ account: accountId, refresh_url: refreshUrl, return_url: returnUrl, type: 'account_update', collection_options: { fields: 'currently_due', }, });
is this type is fine account_update
ok thanks for confirming! would you mind clarifying your question, and what problem you're trying to solve?
As mentioned earlier, Iโm working on verifying a business user
sure, but which specific part are you having trouble with or trying to understand?
first one is account link creation part and second is when user redirected to account link and completed verification process and return to our app how our backend knows that the verified user