#sandeepdil
1 messages ยท Page 1 of 1 (latest)
Hi there!
hi
I'm not sure I understand your question. Can you share more context on what you are trying to do and what is the issue?
"external_account.documents.bank_account_ownership_verification.files " will have array of file ids or string
i have to attach file ids with api params ...
external_account.documents.bank_account_ownership_verification.files
will be an array or file ids or string or comma separated
i tried with array
external_account.documents.bank_account_ownership_verification.files = ['file_exampleID']
but not working
please assist !
Hello ๐
Taking over as soma needs to step away
hi
can you please help me over it ?
i need to attach bank verification document with stripe.accounts.create api
Is that a specific guide you're following for this flow?
i do follow same as given in the stripe documents
which one? Can you share the link?
everything is working only bank document file id is not getting attached with api params
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
sharing my code :
only problem in
external_account.documents.bank_account_ownership_verification.files
There are a few different ways to perform ownership verification. One uses hosted flow
And the other is directly using the API
https://stripe.com/docs/connect/payouts-bank-accounts?bank-account-collection-integration=direct-api&bank-account-collection-method=financial-connections
Just want to make sure that you are aware about the hosted flow but still want to use the API approach here?
with api
i want to attached file with stripe.accounts.create() api in nodejs
account creation is working file only documents is not getting attached with external bank in "stripe.accounts.create"
i have shared my code... please assist where is the mistake in external_account document file id attachment
Gotcha. When you run the above code, what response do you see?
Can you share an example request ID?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_02P3hspNOgstJE
StripeAPIError: An unknown error occurred
if i do comment "external_account.documents.bank_account_ownership_verification.files" starts working but thn i have to add bank document manually from stripe dashboard
it seems like you're passing an array to files
What happens if you only pass the file ID as a string?
file ID as string
req_PQHMRYggYfoixy
StripeAPIError: An unknown error occurred
same error
Interesting... looking to see if there's anything obvious I am missing here
ok please assist...
In the code that you've shared above, you're setting string like
files : bankDetail.rows[0].bank_identification_doc_id
}```
when you assign an array, what syntax are you using?
bank_account_ownership_verification : {
files : [bankDetail.rows[0].bank_identification_doc_id]
}
for array
Gotcha. Thanks
so any solution on it ?
We're looking into it, the API shouldn't be returning an error with the array as thats the expected datatype.
hummm... so will it take time to get solution on it ?
Yeah I've asked a colleague to look into it as well, if it is a bug with the API then we'll need to loop in our product team that maintains the API for this feature.
Appreciate your patience
ok... please check on it and keep this thread open for some time so i can get update on it
Hey apologies this is still taking a bit. I've been looking to see if this call was previously working with this or if this has been the base as far back as I can see. Changes how to file the bug report
If you want you can write in to support and I can grab the ticket and get back to you with progress. The fix will likely take longer than we want to keep this chat open https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I'm going to close this thread for now. If you want to follow the fix you can reach out through that support form, if you give your code and a description of the errors and mention that you were talking to Pompey on Discord, it should get directed to me.