#optout-connect-payout
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- .optout, 5 hours ago, 13 messages
optout-connect-payout
the doc above shows you how to switch an account to "manual Payouts" where their balance builds up over time
const stripeAccount = await stripe.accounts.create({
type: 'custom',
business_profile: {
url: 'https://example.com'
},
country,
email,
capabilities: {
transfers: {
requested: true,
},
},
settings: {
payouts: {
interval: 'manual'
}
}
});
ok so with this code they should not be able to get payouts unless i use the payout endpoint
await stripe.payouts.create({
amount: orderGroup.total,
currency: 'eur',
statement_descriptor: 'Payout',
destination: orderGroup.seller.bankAccount
}, {
stripeAccount: orderGroup.seller.stripeId
})
btw is it mandatory to specify destination in the payout creation?
correct to your first question
No to the second, we'd use the BankAccount that has default_for_currency: true if you don't set the destination parameter
and that would be the default bankAccount from the connectedAccount
not the bankaccount of the platform
correct