CustomerCreditCard object

Represents a card instrument for customer payment method.

Required access

read_customers access scope.


On this page


Fields

  • billingAddress ([CustomerCreditCardBillingAddress](https://shopify.dev/docs/admin-api/graphql/reference/customers/customercreditcardbillingaddress))
    The billing address of the card.
  • brand ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The brand of the card.
  • expiresSoon ([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    Whether the card is about to expire.
  • expiryMonth ([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    The expiry month of the card.
  • expiryYear ([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    The expiry year of the card.
  • firstDigits ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The card’s BIN number.
  • isRevocable ([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    The payment method can be revoked if there are no active subscription contracts.
  • lastDigits ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The last 4 digits of the card.
  • maskedNumber ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The masked card number with only the last 4 digits displayed.
  • name ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The name of the card holder.