How to get the paymentMethodId when I create subscription contract.

VladG
New Member
5 0 0

Hey,
Where do I get the ID of the customer payment method?

when I made a query in customers asking for payment methods its shows the object blank.

Any ideas?

Replies 2 (2)
colinloretz
Excursionist
16 2 6

Can you share your query?

You should get back ids if your query is structured like this: https://gist.github.com/colinloretz/b5c0ed3b1facd8f1f762eb2e17babb36

VladG
New Member
5 0 0

That's what were been using. We are getting empty payment methods, is it possible because we use Shopify Payment Testing Mode?