--- title: customerPaymentMethod - GraphQL Admin description: Returns a CustomerPaymentMethod resource by its ID. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/queries/customerPaymentMethod md: >- https://shopify.dev/docs/api/admin-graphql/unstable/queries/customerPaymentMethod.md --- # customer​Payment​Method query Returns a CustomerPaymentMethod resource by its ID. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required The ID of the CustomerPaymentMethod to return. * show​Revoked [Boolean](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean) Default:false Whether to show the customer's revoked payment method. *** ## Possible returns * Customer​Payment​Method [Customer​Payment​Method](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CustomerPaymentMethod) A customer's saved payment method. Stores the payment instrument details and billing information for recurring charges. The payment method supports types included in the [`CustomerPaymentInstrument`](https://shopify.dev/docs/api/admin-graphql/latest/unions/CustomerPaymentInstrument) union. *** ## Examples * ### customerPaymentMethod reference ## Query Reference ```graphql { customerPaymentMethod(id) { # customerPaymentMethod fields } } ```