#Shmarti
1 messages · Page 1 of 1 (latest)
Theres the individual property but it says This field is null unless business_type is set to individual.
THis is actually in the Person object: https://stripe.com/docs/api/persons
You create a Person who is the representative for the Account
how do I attach the person to a company account as a representative? What property is that
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? 🤔
Or you can create the Account first and and create the Person as the representative for that Account.
ok thanks @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.
If you look at the URLs associated with the Person object here: https://stripe.com/docs/api/persons, you will see they all require the Account ID
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