#Shmarti

1 messages · Page 1 of 1 (latest)

torpid horizonBOT
low saddle
#

Theres the individual property but it says This field is null unless business_type is set to individual.

coarse dagger
#

You create a Person who is the representative for the Account

low saddle
#

how do I attach the person to a company account as a representative? What property is that

coarse dagger
#

You specify the Account on the Person, that's how you relate them

low saddle
#

The docs dont mention this at all. They just say create an account with country . So instead I should create a person then create a connected account then add the connected account.id to the person.account? Do i have that right? 🤔

coarse dagger
#

Or you can create the Account first and and create the Person as the representative for that Account.

low saddle
#

ok thanks @coarse dagger

coarse dagger
#

Just to clarify, you must create the Account first. The Person is a nested object

#

What I mean by that is the person is defined in a separate API call but that API requires the Account ID.

low saddle
#

oh i see what you mean. but after i create the account + person, if i retrieve the account object does it come with the person attached to it if so under what property on the account object?

#

oh i see the API shows the person is retrieved in a separate API call, am I correct?

#

const person = await stripe.accounts.retrievePerson