How to get the paymentMethodId when I create subscription contract.

How to get the paymentMethodId when I create subscription contract.

VladG
Shopify Partner
6 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 7

Can you share your query?

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

VladG
Shopify Partner
6 0 0

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