#_kevinx

1 messages ยท Page 1 of 1 (latest)

round hamletBOT
true summit
#

Next time you can use the thread you already have open ๐Ÿ™‚

cosmic radish
#

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

round hamletBOT
true summit
#

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?

cosmic radish
#

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,
        },
      },
    },
  });
frosty heron
#

Hi, gimme some times to look at the accounts

cosmic radish
#

Alright, thanks, appreciate it!

frosty heron
cosmic radish
#

Sure

#

Give me a min

#

This was updated already

#

not allow account to do it

frosty heron
#

Okie, then fort his account, can you try Update Account API and specify the settings parameter above?

cosmic radish
#

what do you mean update account api

#

change the account settings through api?

#

It says payout daily, nowhere I found anything can change it

frosty heron
#

Wonder if you call it on this account, does it allow the parameter or will just error like when you use Create Account API

cosmic radish
#

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

frosty heron
#

Hmm can you paste here the Standard Account id? acct_xxx

cosmic radish
#

acct_1NiRIqFK1YId5Ecv

#

It says platform control enabled, but nowhere I can control it

#

๐Ÿ˜†

frosty heron
#

Scroll to the top and click on this ... button

#

Can you see the same "Edit payout schedule" like this?

cosmic radish
#

Thanks, so there is no payout delay option for Standard account?

frosty heron
#

Yeah seem so :/ You can write to Support and ask for clarification

#

Or it could be because of your country

cosmic radish
#

US?

frosty heron
#

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

cosmic radish
#

Got you, thanks, appreciate it

frosty heron
#

Contacting Support? You would want to reach out to them via this link

paper condorBOT
#

: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