#jabza
1 messages ยท Page 1 of 1 (latest)
Can you provide more context? Is this only happening for one Connected Account, or is this happening for all of them? Do you see a related request in your logs within the Stripe dashboard that show a request to update an Account failing?
I only have one Connected Account at the moment I've been testing
the platform's branding correctly got applied - but I was testing overriding that branding
Hm, I'm not too familiar with the dashboard flows, so I'm not sure if this is something that is broken or if there is some nuance to using this flow in the dashboard.
Would you be open to using an API-based approach for uploading these files and updating the Connected Account's branding settings?
Sure, happy to try that.
Cool, we have a guide on how to upload files here that you can use as a reference for the first part of the process (uploading the files):
https://stripe.com/docs/file-upload#uploading-a-file
When uploading the file, do not include the stripeAccount header, the next step that updates the Connected Account will fail if the file is uploaded to the Connected Account.
You'll want to upload the files with a purpose of either business_logo or business_icon
You can use this endpoint to update the Connected Account's settings.branding values and can provide the ID of the file created from the upload to the icon or logo parameters in there:
https://stripe.com/docs/api/accounts/update#update_account-settings-branding
Thank you. Let me try this
I already have the file uploaded on my Platform account
so I think I can start at step two?
Yup, if you already have the ID of the file (file_) then you can skip to updating the account.
I'm trying to use the CLI for this
hmm how would I go about getting the File id of my already uploaded icon?
You can use this function to list the files that have been uploaded to your account:
https://stripe.com/docs/api/files/list
You may also be able to find it in the logs available in the dashboard if you can find the request that created the file there:
https://dashboard.stripe.com/test/logs
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ah great - that worked ๐
so now i'm trying to use CLI to set the file ID on the connected account
think this is wrong though
I'm less familiar with doing this via the CLI, but I think what you have looks right until the --settings... part. I would replace that with --data since you need to get to a nested value. I think the call would look something like:
stripe accounts update [ACCT_ID] --data "settings[branding][icon]=[FILE_ID]"
where [ACCT_ID] and [FILE_ID] get swapped for the actual ID strings without square brackets around them.
Hi taking over for toby as they have to step out
Can you summarize what you're currently blocked on so I can help?
Sure, thanks for helping out. I have been having issues setting the branding on a Connected test account
When trying to set the Icon, I get an error - so we are trying via the CLI
However, I can't seemed to list files with purpose_type business_icon
Which I am trying to use the FileId of, to set the Connected accounts Icon
this is what I see when I try via Dashboard logged into the Test Connected Account
not sure why it'd be getting a livemode mismatch ๐ค
You get that response when attempting via the dashboard?
Hm super weird. To be honest I recommend reaching out to our support team to flag this issue. We're not super familiar with dashboard flows in here, and this probably should be flagged to them: https://support.stripe.com/contact/email
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.
Righto will do, thank you
The CLI way would be nice but I'm not sure why I am seeing zero files listed for
stripe files list --purpose business_icon
I do get files for business_logo
(This is on the Platform Account)
Which does have a Icon set correctly
To be honest I'm not sure the difference between those two (business_icon vs business_logo). I would ask support that as well