customerPaymentMethodRevoke - admin-graphql - MUTATION
Version: 2024-10
Description:
Revokes a customer's payment method.
Access Scopes
`write_customers` access scope. Also: Requires `write_customer_payment_methods` scope.
Arguments
customerPaymentMethodId
: ID! - The ID of the customer payment method to be revoked.
Returns
revokedCustomerPaymentMethodId
: ID The ID of the revoked customer payment method.
userErrors
: UserError! The list of errors that occurred from executing the mutation.
Examples