#ANNA SUN-list-external-accounts

1 messages · Page 1 of 1 (latest)

short wave
crude owl
#

So I have to add card in the array?

#

Im just confused why the doc shows that object there even though that's not correct

short wave
#

There's no object parameter, just omit it

crude owl
#

so I have to add it inside expand?

short wave
#

No, expand is something else entirely

crude owl
#

so how would I get only the cards?

short wave
#

Checking on this, seems like it's a limitation of the types for the Node client

#

Are you able to TS ignore that specific call and attempt it?

crude owl
#

I just tried it out and yes it does work. If I do object: 'bank_account' it returns an empty array for data since I don't have a BA attached. If I use object: card it returns the actual card data

short wave
#

Ok, got it. We should probably fix those type definitions

crude owl
#

will do, thank you

short wave
#

Or I can flag it internally, let me know!

crude owl