#hardik-sources

1 messages · Page 1 of 1 (latest)

winter wadi
#

hello @late yarrow, can you share the customer id? it'd look like cus_123

late yarrow
#

cus_L7S4LqNxpWUOsD

winter wadi
late yarrow
#

How to add expanded object in customer = await stripe.customers.retrieve(customerId);

winter wadi
#

Example

const customer = await stripe.customers.retrieve(
  'cus_J0gyji8z6aSVB',
  {
        expand: ["sources"]
  }
);
late yarrow
#

tx