#vell_2x
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.
- vell-connect-payouts, 26 minutes ago, 12 messages
Hello, how can I help?
Hello I am trying to create a Connect account, but I am getting unexpected results.
const account = await stripe.accounts.create({
type: 'express',
email: req.body.email,
business_type: 'company',
capabilities: {
transfers: 'active',
},
metadata: {
'proid': req.body.proid,
},
settings: {
payouts: {
"schedule": {
"delay_days": 2,
"interval": "friday",
},
},
},
});
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
And also tell me what result do you expect?
req_fa73ReF6FhCzfQ
I was exspecting the account.id be saved to DB but instead I got HTML code
The request wasn't successful, you can check to log to see why it failed.
400 err
capabilities: {
transfers: 'active',
},
settings: {
payouts: {
"schedule": {
"delay_days": 2,
"interval": "friday",
},
},
},
^^ added the following fields
Worked before adding
https://docs.stripe.com/connect/account-capabilities#creating this is how you requeset for capabilities
for example:
capabilities: {
transfers: {
requested: true
}
}
Ok. does the settings portion look good?