#juiceman-payout-hold
1 messages · Page 1 of 1 (latest)
juiceman-payout-hold
That is a setting at the Account level https://stripe.com/docs/api/accounts/update#update_account-settings-payouts-schedule-delay_days
but that will apply to all funds transfers in their account balance
i should just do that when they create the account right?
u send me the code for updating the account
so like this right?
const account = await stripe.accounts.create({
type: 'express',
payouts: {
schedule: {
"delay_days": 7,
"interval": "daily",
}
}
});
it erroring out
this is what i had before:
const account = await stripe.accounts.create({
type: 'express'
});
this is what i just tried to do and it didnt work:
const account = await stripe.accounts.create({
type: 'express',
payouts: {
schedule: {
"delay_days": 7,
"interval": "daily",
}
}
});
i got this error:
Received unknown parameter: payouts
so I guess I cant do it when i create the account?
you can, you just didn't read the docs carefully
dang
it's inside settings?
i see
lmk if that doesn't work though
looks to be working, thank u