#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/1435220025051971755
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there. I see requirements listed in the requirements.currently_due param in the response for that request
let me share Api response just give me 2 min
pls check this, i recieved empty array for
reuirements.currently_due
Looks like that's for a different account than the request ID above
yes let me provide req id
hey there ๐ taking over for my colleague - just getting caught up on this thread
sure take your time
looks like that response also contains a list in requirements.currently_due
on your side, where are you seeing the empty array?
can you pls check this response
yes but where specifically did you get this JSON from?
i call stripe api where i passed accountId and get this response from stripe
I see. Then this API request (req_IzVpMGuItRuZVy) must not be the same call, because this is a Create Account API call (so you don't pass any account ID - instead, Stripe returns it)
so we need to track down which API call returned this response
https://support.stripe.com/questions/finding-the-id-for-an-api-request
GET /v1/accounts/{account_id}
i am calling this api
ah yes that makes sense, then the requirements have probably been updated - checking the account in more detail now
sure but one thing i see on dashboard account status is Enabled
yeah which make sense because the requirements were satisfied when this request was made, which provided the details required:
https://dashboard.stripe.com/acct_1SPhuxRsaTjFET1n/test/logs/req_tmX7XJaUr8Dsl1
after this, the requirements were updated
to reflect that no further info is currently due
okay when i click on account i see on top left action required here they added request information button when i click on this i redirect to web and stripe starts document verification
here is my question how i get this sessionId
how i get this request information link
this is a Remediation Link, which is a specific type of link that can only be created through the dashboard:
https://docs.stripe.com/connect/dashboard/remediation-links
if you want to generate a link with the API, you can use Account Links instead:
https://docs.stripe.com/connect/custom/hosted-onboarding
https://docs.stripe.com/connect/handle-verification-updates#collect-updated-information-from-affected-users
okay will check this links but can you pls tell me how i create sessions for persons like if one account have 4 persons we need to create seesion for each person
since they're all associated with the same account, you'd use one account link for this and it will request the required information for each person
can we create this link through api?
Got it
no, but the main difference between a Remediation Link and an Account Link is that Remediation Links are reuseable and last for 90 days, while Account Links are single-use
you can use the API to create an Account Link
how we can do that
this section describes how to construct the API call
https://docs.stripe.com/connect/custom/hosted-onboarding#info-to-collect
let me check
i am checking this and it takes time
can we open this thread for today
or how we can reopen this thread
no worries! the threads close after a while of inactivity, but if you just open a new thread we'll be able to see this one's history
okay
@sage sierra can you pls tell me how we can handle this and which api is used to create account link and which parameter i need to pass to start document verification
If you want to create an Account Link to onboard/update an account, where they can provide their details: https://docs.stripe.com/api/account_links/create
You need to pass in the parameters marked as "Required" there
No i want to verify user documents
You can also use Account Links for this, but it depends on what sort of setup you have, whether you want to use a Stripe-hosted experience, or use embedded components, or handle everything yourself
Handling verification updates for your connected accounts is discussed here: https://docs.stripe.com/connect/handle-verification-updates?accounts-namespace=v1#send-accounts-to-collection-flow
i have created business account using custom connect and collected all required fields from user using api
but the thing is how i create verification session for documents
What sort of experience do you want the user to have? https://docs.stripe.com/connect/custom/onboarding
yes for verification we will go with stripe based experience
OK, so you would use Account Links, as described under Stripe hosted onboarding: https://docs.stripe.com/connect/custom/onboarding#stripe-hosted-onboarding
okay then how i verify persons (owners, directors, exectives)
๐ Hey, taking over here, just taking a look
sure
i mainly have problem with verification part how i create a link for persons verification for stripe business_type company account
guys pls help me for this i am stuck here
Creating the account link as described above is all you need to do, the user will then be asked for whatever verification steps are required
okay when we create this link how long we can use this link
When creating the account link, you may need to pass the value eventually_due in the collection_options.fields param in order for the verification steps for those requirements to be presented. https://docs.stripe.com/api/account_links/create#create_account_link-collection_options-fields