#emenike-account-prefill
1 messages · Page 1 of 1 (latest)
@vapid torrent you create the account via the API https://stripe.com/docs/api/accounts/create so you can pass all the information you have upfront before sending them to Connect Onboarding / the AccountLink
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I put in this information:
const account = await stripe.accounts.create(
{
type: 'custom',
email: 'asdasd@gmail.com',
country: 'US',
business_type: 'individual',
individual: {
id_number: '000000000',
first_name: 'Firstname',
last_name: 'Lastname',
dob: {
day: 1,
month: 1,
year: 1901,
},
email: 'asdasd@gmail.com',
phone: '9723908360',
address: {
city: 'Allen',
line1: 'address_full_match',
line2: 'any',
state: 'Texas',
country: 'US',
postal_code: '75462',
},
},
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
external_account: {
object: 'bank_account',
country: 'US',
currency: 'usd',
routing_number: '110000000',
account_number: '000123456789',
account_holder_name: 'Firstname Lastname',
account_holder_type: 'individual',
},
}
)
and i still got the error error: 'Cannot create payouts: this account has requirements that need to be collected.. Please provide those fields to re-enable payouts.'
what exactly am I missing
that's a Custom account
So you always pre-fill everything
what are the requirements missing? Did you look at requirements?
https://stripe.com/docs/connect/identity-verification-api covers this in details
the reason why I ask is because the onboarding process for standard ask the user about their website when we are just looking to do payouts to any user
so an avergae customer wouldnt have their own website
is there a way to prevent the onboarding process from asking those kind of questions in the standard mode