客户信用卡-CustomerCreditCard 目的

代表用于客户付款方式的卡工具。

所需的访问

read_customers 访问范围。


在本页面


字段

  • billingAddress([CustomerCreditCardBillingAddress](https://shopify.dev/docs/admin-api/graphql/reference/customers/customercreditcardbillingaddress))
    卡的账单地址。
  • brand([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    卡的品牌。
  • expiresSoon([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    卡是否即将过期。
  • expiryMonth([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    卡的到期月份。
  • expiryYear([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    卡的有效期限。
  • firstDigits([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    卡的BIN号。
  • isRevocable([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    如果没有有效的订购合同,则可以取消付款方式。
  • lastDigits([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    卡的最后4位数字。
  • maskedNumber([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    仅显示最后4位数字的被屏蔽的卡号。
  • firstDigits([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    持卡人的姓名。