#patrickhowonk_17393_66278
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.
- patrickhowonk_17393_66278, 43 minutes ago, 16 messages
- patrickhowonk_17393_66278, 22 hours ago, 21 messages
The error said it ๐ Only with business_type = individual, you will be able to provide individual parameters
Parameter 'business_type' cannot be used in conjunction with an account token. To
set this field create a token with the desired changes. Pass the token with 'account_token' in a request without setting 'business_type'.
this is my code
The error mentioned it again ๐
Instead you'd pass business_type when you creating the Account Token: https://stripe.com/docs/connect/account-tokens#workflow
how to active transfers capabilities in account connected
const bank = await stripe.tokens.create({
bank_account: {
country: 'US',
currency: 'usd',
account_holder_name: 'Jenny Rosen',
account_holder_type: 'individual',
routing_number: '110000000',
account_number: '000123456789',
},
});
const token = await stripe.tokens.create({
account: {
individual: {
first_name: 'Jane',
last_name: 'Doe',
},
business_type: 'individual',
tos_shown_and_accepted: true,
},
});
const account = await stripe.accounts.create({
country: 'US',
type: 'custom',
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
external_account: bank.id,
account_token: token.id,
// business_type:'individual'
});
this my code
You'd follow the guide I just linked