#_kevinx
1 messages ยท Page 1 of 1 (latest)
Next time you can use the thread you already have open ๐
oh, I deleted that one lol
took too much space with those code samples
So I tested this payout schedule and got an error saying it only works for Express and Customized account, not Standard ones
I believe this only works for standard accounts that are controlled by a single platform - do you have an example reqeust that's failing that we can take a look at?
It is controled by a single platform, give me one sec, let me run it
StripeInvalidRequestError: The parameter `settings[payouts][schedule][delay_days]` may only be used on Custom or Express accounts.
type: 'StripeInvalidRequestError',
raw: {
message: 'The parameter `settings[payouts][schedule][delay_days]` may only be used on Custom or Express accounts.',
param: 'settings[payouts][schedule][delay_days]',
headers: {
server: 'nginx',
date: 'Thu, 24 Aug 2023 00:02:52 GMT',
'content-type': 'application/json',
'original-request': 'req_LhWdOsH4iKM2Cf',
Here is the code I used
const account = await stripe.accounts.create({
type: "standard",
settings: {
payouts: {
schedule: {
interval: "daily",
delay_days: 7,
},
},
},
});
Hi, gimme some times to look at the accounts
Alright, thanks, appreciate it!
Um probably at this timing the API hasn't been able to determine this is control by platform. Sorry could you remove that settings and process to create a Standard Account as normal, then open this Dashboard page to see if the newly created Account is controlled? https://stripe.com/docs/connect/platform-controls-for-standard-accounts#configuring-platform-controls
Okie, then fort his account, can you try Update Account API and specify the settings parameter above?
what do you mean update account api
change the account settings through api?
It says payout daily, nowhere I found anything can change it
Yeah I mean this API: https://stripe.com/docs/api/accounts/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Wonder if you call it on this account, does it allow the parameter or will just error like when you use Create Account API
the parameter is here https://stripe.com/docs/api/accounts/update#update_account-settings-payouts-schedule
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
StripeInvalidRequestError: You cannot change settings[payouts][schedule][delay_days] via API once an account has been activated.
It also says people can change the payout for standard account from the dashboard, but nothing I can find so far
Hmm can you paste here the Standard Account id? acct_xxx
acct_1NiRIqFK1YId5Ecv
It says platform control enabled, but nowhere I can control it
๐
Scroll to the top and click on this ... button
Can you see the same "Edit payout schedule" like this?
Yeah seem so :/ You can write to Support and ask for clarification
Or it could be because of your country
US?
Oh US should be normal? Sorry please disregard it
Please write to Support clarify on how to set delay days to Controlled-By-Single-Platform Standard Account
Got you, thanks, appreciate it
Contacting Support? You would want to reach out to them via this link
:question: Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact