Subscription API - Add New Payment Method

Solved
Conjured_Char
Shopify Partner
30 0 3

Is it possible to trigger a customer to add a payment method if the method has been revoked? There doesn't appear to be a way to do it via the Shopify Customer, nor does the method customerPaymentMethodSendUpdateEmail work unless you have an existing payment ID (which you wouldn't have if the payment method had been revoked).

Accepted Solution (1)

Accepted Solutions
Philibert_Dugas
Shopify Staff
Shopify Staff
25 11 7

This is an accepted solution.

Hey there,

You can trigger an update on a revoked payment method. To retrieve the ID, you can use the `showRevoked: true` argument when querying payment methods

https://shopify.dev/api/admin-graphql/2022-01/objects/subscriptioncontract#field-subscriptioncontrac...

View solution in original post

Replies 2 (2)
Philibert_Dugas
Shopify Staff
Shopify Staff
25 11 7

This is an accepted solution.

Hey there,

You can trigger an update on a revoked payment method. To retrieve the ID, you can use the `showRevoked: true` argument when querying payment methods

https://shopify.dev/api/admin-graphql/2022-01/objects/subscriptioncontract#field-subscriptioncontrac...

Conjured_Char
Shopify Partner
30 0 3

Thank you so much! That did the trick, I really appreciate your help!