#ruby-connect-branding
1 messages · Page 1 of 1 (latest)
Hello! Do you have a bit more details?
here it is req_ZZYxPOl1W9uUAP
ruby-connect-branding
I want to fetch live and test brands settings and save them in our DB
oh you changed your name again lol
no I'm the developer works for Adam
API request
stripe_account = Stripe::Account.retrieve(@site.stripe_user_id, {stripe_account: @site.stripe_user_id})
stripe_icon_file_id = stripe_account.settings.branding.icon
stripe_logo_file_id = stripe_account.settings.branding.logo
stripe_icon_obj = Stripe::File.retrieve(stripe_icon_file_id, {stripe_account: @site.stripe_user_id})
stripe_logo_obj = Stripe::File.retrieve(stripe_logo_file_id, {stripe_account: @site.stripe_user_id})
Okay so you retrieve the Account with a Live Secret API key and got that file id? Or you did this with a Test key?
live key
Okay then it looks like a bug that you should report to our support team and they can investigate: https://support.stripe.com/contact