#talker

1 messages · Page 1 of 1 (latest)

hushed spokeBOT
prime lichen
#

hi! what's the customer ID and what exact code are you using?

flat island
#

this is c#

var stripeCustomer = await _stripeCustomerService.GetCustomerByAffiliateIdAsync(affiliateId);
        var service = new CardService();
        var options = new CardListOptions
        {
            Limit = 1,
        };

        var stripeCards = await service.ListAsync(stripeCustomer.Id, options, _requestOptions);
        return stripeCards.ToList();
#

customerID: cus_MTs1fmT5IP7WF7

prime lichen
#

yep, that customer has PaymentMethods pm_xxx, so you need to use PaymentMethodService to list their cards and other methods