#Yash010 - Connect

1 messages ยท Page 1 of 1 (latest)

pearl sail
#

HI ๐Ÿ‘‹

#

You can collect the information required yourself and submit it via the API

cinder robin
#

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?

pearl sail
#

Okay you can provide most of that information when you create the account. Did you review the API reference doc I sent?

cinder robin
#

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?

pearl sail
#

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.

cinder robin
#

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

pearl sail
#

What requirements are you attempting to provide data for?

cinder robin
#

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

trim ether
#

๐Ÿ‘‹ stepping in for Sufkin as they need to step away

cinder robin
#

i want the user to be completed so it can transact

trim ether
#

What outstanding requirements are you seeing?

#

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

cinder robin
trim ether
#

Okay good ๐Ÿ™‚

cinder robin
#

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?

trim ether
cinder robin
# trim ether You want to refer to https://stripe.com/docs/connect/required-verification-infor...

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

trim ether
#

There is no representative object