---
title: customerPaymentMethodRevoke - GraphQL Admin
description: Revokes a customer's payment method.
api_version: unstable
api_name: admin
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/unstable/mutations/customerPaymentMethodRevoke
  md: >-
    https://shopify.dev/docs/api/admin-graphql/unstable/mutations/customerPaymentMethodRevoke.md
---

# customer​Payment​Method​Revoke

mutation

Requires `write_customers` access scope. Also: Requires `write_customer_payment_methods` scope.

Revokes a customer's payment method.

## Arguments

* customer​Payment​Method​Id

  [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID)

  required

  The ID of the customer payment method to be revoked.

***

## Customer​Payment​Method​Revoke​Payload returns

* revoked​Customer​Payment​Method​Id

  [ID](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID)

  The ID of the revoked customer payment method.

* user​Errors

  [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/UserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### customerPaymentMethodRevoke reference
