#MaDHaD
1 messages · Page 1 of 1 (latest)
Can you explain what you're trying to do or show an example request? I don't really understand the situation.
When I create the account thought stripe api stripe.accounts.create with that data
{
type: 'custom',
business_type: 'company',
country: 'US',
email: "maksym.voitiuk+2@idealogic.dev",
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
company: {...},
business_profile: {...}
}`
After that I've create a person stripe.accounts.createPerson owner that connects to this account
It works good but when I create the links for verify it
const accountLink = await stripe.accountLinks.create({
account: account.id,
refresh_url: 'https://example.com/reauth',
return_url: 'https://example.com/return',
type: 'account_onboarding',
});
it didn't returns me a step with form where i can add a payment details like card or bank
I got this
but i need that
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You need to turn on the option in your settings to collect payout/ bank info for custom accounts during onboarding
Linked from here: https://stripe.com/docs/connect/connect-onboarding#how-to-use-connect-onboarding-for-custom-accounts