#khushbu

1 messages · Page 1 of 1 (latest)

agile kilnBOT
boreal nebula
#

Hi, each result should be a PaymentMethod, with its own id pm_xxx and type=card. Which cardId are you referring to and how will you use it?

half ermine
#

hello am reciving stripe. customers.listPaymentMethods api res in the above attachment in these card objects can we get the cardid just like during add card res we get the card id .

boreal nebula
#

Yes I know, but what do you plan to use that card id? The Payment Method Id pm_xxx should be good enough in most cases

half ermine
#

because I need to filter out in one scenario where I receive the cardId in the request parameters. cardID in listPaymentMethods api responce

boreal nebula
#

Sorry I don't really follow. List Payment Methods API works with the Payment Method Id which in the form of pm_xxx and you can mostly use it everywhere within Stripe API