#costia-connect

1 messages ยท Page 1 of 1 (latest)

jade shore
#

cpt_1JeG8uGmJ5WnHwdA2KRdReIl is not a Person ID

#

it's the ID of a token

edgy ravine
#

ahhhhh

#

i'm stupid sorry xD

jade shore
edgy ravine
#

okay if i do this

const persons = await stripe.accounts.listPersons(
  data[0].stripeID,
  {limit: 1}
);

and then I store person.data.id will work ?

jade shore
#

sure, if the account has one Person!

edgy ravine
#

okay thanksss

#

have a good day ! ๐Ÿ™‚

edgy ravine
#

and the smae for owner

jade shore
#

yep they're all booleans

#

it's like relationship:{representative:true, owner:true}