#shayan_api

1 messages ยท Page 1 of 1 (latest)

eager roostBOT
#

๐Ÿ‘‹ 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.

regal bobcat
#

๐Ÿ‘‹ Hi there. Yes account links should work for this purpose. Any documents required should then be requested once they follow the link

viral tundra
#

okay can you pls tell me the best way to handle account links

#

which account type i need to use

regal bobcat
viral tundra
#

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?

eager roostBOT
regal bobcat
viral tundra
#

can you pls help me to find account.updated event

lusty vault
eager roostBOT
viral tundra
#

let me check

blissful smelt
#

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

viral tundra
#

yes i am on platform account

blissful smelt
#

do you see the event when opening the URL above?

viral tundra
#

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

blissful smelt
#

ok thanks for confirming! would you mind clarifying your question, and what problem you're trying to solve?

viral tundra
#

As mentioned earlier, Iโ€™m working on verifying a business user

blissful smelt
#

sure, but which specific part are you having trouble with or trying to understand?

viral tundra
#

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