#alex-dietz_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/1350101745652600862
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, are you using the stripeAccount header, https://docs.stripe.com/connect/authentication ? Does it work when you drop that when you create the file?
I dont create the file. Its a verification file uploaded by the user of the connect account. E.g. req_LPdms6GFrLxKlP. I now want to access this file as the user doesnt understand why the verification didnt work and its difficult to provide explanations if I cannot see the file.
Ah, since that file is on the acct_1PTJ3X2SwypXsRVY you can't access it from another account. Can you try passing the header, https://docs.stripe.com/connect/authentication for that account and see if you can access it?
ok that generally works, interesting aspect! Is there a way without fileLink to include this account header in a file request like to https://files.stripe.com/v1/files/{file_id}/contents" . So that I can download it and not just access the file info. I just tried req_Bj1x8POqYjEdwq but get invalid request
I do not think there is. Glad that worked
Well, so there is no way to download a file that was uploaded by a connected account? The general file information dont really help me with anything..
https://docs.stripe.com/file-upload#download-file-contents, it is possible that you can't access sensetive file
If the file purpose allows downloading the file contents, then the file includes a non-null url field indicating how to access the contents.