#Yash010 - Connect
1 messages ยท Page 1 of 1 (latest)
HI ๐
You can collect the information required yourself and submit it via the API
It's a lot of info and most users prefer the Stripe hosted onboarding forms but you are free to build your own.
You can see the fields required for an account here:
https://stripe.com/docs/api/accounts/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And review the information necessary to create a Person record here:
https://stripe.com/docs/api/persons
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 used account create api
but i am not able to find other parameters to add make sure user profile is complete so he can make transaction
also can you tell me how many payout accounts we can add to single transaction?
Okay you can provide most of that information when you create the account. Did you review the API reference doc I sent?
yes i saw the documentation but in create api most of the fields are optional.Can you tell me what are the minimum fields are required for a vendor to make transaction?
and is person api you sent resembles user fields in create account?
yes the fields are optional because most users want to use the Stripe onboarding forms to collect that information. You said you want to do it yourself. So you need to provide those optional fields.
If you use the API to retrieve the Account object you can look in the requirements property to see what fields are needed for the capabilities you have requested that account have.
The person API can be used to provide the information for the Representative specified in that screenshot.
Thanks, i got the required parts added business_profile. but when i trying to add user details as individual object i got ths error.You can only provide individual parameters for accounts with business_type of 'individual'
and if i am adding them as root object getting this error
StripeInvalidRequestError: Received unknown parameters: address, first_name, last_name, phone, dob, ssn_last_4
What requirements are you attempting to provide data for?
const account = await stripe.accounts.create({
type: "custom",
country: "US",
email: "yg231@example.com",
business_type: "company",
business_profile: {
mcc: "7531",
url: "https://streamcar.co",
},
// individual: {
address: {
city: "Carmel",
line1: "2602 Murphy Circle",
postal_code: "260121",
state: "Indiana",
},
first_name: "Yash",
last_name: "Gupta",
phone: "9250128423",
dob: {
day: 21,
month: 03,
year: 1997,
},
ssn_last_4: "1231",
// },
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
// bank_transfer_payments: { requested: true },
us_bank_account_ach_payments: { requested: true },
},
});
this is the object i am using for to create a account
๐ stepping in for Sufkin as they need to step away
i want the user to be completed so it can transact
What outstanding requirements are you seeing?
We provided test values here: https://stripe.com/docs/connect/testing
You will want to refer to those in order for the account to be verified based on the informatino you provide in testmode.
I'd also recommend editing the above and removing any sensitive information
As this is a public server
You should not share any personal info
no issues those are not personal details
Okay good ๐
i am using test mode only
just need to know the details are requried to make transaction happen for vendor
and can you tell me how many payouts can be sent on single transaction?
You want to refer to https://stripe.com/docs/connect/required-verification-information for the specific requirements for an account.
i added the fields mentioned are required in custom type
const account = await stripe.accounts.create({
type: "custom",
country: "US",
email: "yg123yash@example.com",
business_type: "company",
business_profile: {
mcc: "7531",
url: "https://google.com",
},
tos_acceptance: {
ip: "123.123.123.123",
date: Math.floor(Date.now() / 1000),
},
company: {
name: "Carmel Auto",
address: {
city: "Carmel",
line1: "2602 Murphy Circle",
postal_code: "46012",
state: "Indiana",
},
phone: "+16185079946",
tax_id: "991-97-8309",
owners_provided: true,
},
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
us_bank_account_ach_payments: { requested: true },
},
});
but even after adding them its the account is restricted
INFORMATION NEEDED - DUE NOW
Bank account or debit card
Business address
Attempted
Representative's address
Representative's date of birth
Representative's email
Representative's name
Representative's phone number
Additional missing data
these fields are still required
and i if am adding representative object
representative: {
first_name: "Yash",
last_name: "Gupta",
phone: "9250128423",
dob: {
day: 21,
month: 03,
year: 1997,
},
ssn_last_4: "1231",
address: {
city: "Carmel",
line1: "2602 Murphy Circle",
postal_code: "260121",
state: "Indiana",
},
email: "seller1@gmail.com",
relationship: {
title: "Seller",
executive: "Seller",
},
},
getting this error
StripeInvalidRequestError: Received unknown parameter: representative
There is no representative object
You either pass those details as the individual if you are creating an individual type account, or you create a person object: https://stripe.com/docs/api/persons/create