Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to customerPaymentMethodRevoke

customerPaymentMethodRevoke

mutation

Requires write_customers access scope. Also: Requires write_customer_payment_methods scope.

Revokes a customer's payment method.

Anchor to customerPaymentMethodIdcustomerPaymentMethodId
ID!required

The ID of the customer payment method to be revoked.


Was this section helpful?

Anchor to CustomerPaymentMethodRevokePayload returnsCustomerPaymentMethodRevokePayload returns

Anchor to revokedCustomerPaymentMethodIdrevokedCustomerPaymentMethodId

The ID of the revoked customer payment method.

The list of errors that occurred from executing the mutation.


Was this section helpful?