#karina-customer-expansion

1 messages · Page 1 of 1 (latest)

junior flickerBOT
dusty elm
#

I am retrieving a customer and expanding ["default_source"]

#

and our code tries to dig into the default source object that is expanded and grab .id

#

our error shows that there indeed is a default source object, it has attributes like fingerprint, brand, country, etc but no id

modest crest
#

Hm, could you make the request one more time? I don't see the logs for your request on my end. I wanted to confirm that we are in fact receiving the expand piece

dusty elm
#

just did it

#

i believe you are because i am receiving a full object back rather than an id

modest crest
#

I'm seeing get requests but for a different customer ID: cus_DvUIeas3cyysvU

dusty elm
#

i will try and get a request

#

so is it expected that the card id is not there?

#

ah HA, my colleague thinks it is because it is a visa debit card?

modest crest
#

I see you're expanding two things: default_source" and "invoice_settings.default_payment_method". Can you share what your code is trying to access from the response?