#dragonlord_api

1 messages ยท Page 1 of 1 (latest)

toxic oxideBOT
#

๐Ÿ‘‹ 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/1283081671121567755

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

fickle etherBOT
stone terrace
#

Hi ๐Ÿ‘‹ I'm not sure what toggle you're referring to, can you tell me more about that? Is that a request you're making through the API or something you're trying to toggle in the dashboard?

undone scarab
#

The request I am sending is through the api php sdk

\Stripe\Account::update(
                    $stripe_connect_id,
                    [
                        'settings' => [
                            'payments' => [
                                'statement_descriptor' => 'Your Business Name',
                                'email_receipts' => [
                                    'enabled' => true,
                                ],
                            ],
                        ],
                    ]
                );
#

and the error I get is This application does not have the required permissions for the parameter 'payments' on account

#

This is a standard stripe connect account

stone terrace
#

I don't see the email_receipts parameter listed in our spec, which is why I didn't recognize what you're referring to:
https://docs.stripe.com/api/accounts/update#update_account-settings-payments

But generally, you can't adjust too many settings for Standard Connected Accounts. The owner of that account controls their settings.

undone scarab
#

I want to turn on email receipts for payments for the standard stripe account is this possible through the api?