#The_Xs - List Code
1 messages · Page 1 of 1 (latest)
Hello!
Can you reply in this thread instead of the channel please?
This doesn't work
Anyone else having this problem?
I put in a valid customer Id and call that and I get nothing back
sure!
Let me take a look, hang on...
Are you sure that's a valid Customer ID? It's not showing up on my end.
const cards = await stripe.customers.listSources(
'cus_KhCuxlQfyrY19q',
{object: 'card', limit: 3}
);
That one was from docs try this one please
I created the Id for this last night
That Customer ID is correct, but that Customer has no Cards attached, only Payment Methods. Try this API instead: https://stripe.com/docs/api/payment_methods/customer_list