Home > @infiniteobjects/shopify-data-manager > AdminTypes > CustomerCreditCard
Represents a card instrument for customer payment method.
Signature:
export interface CustomerCreditCard
| Property | Modifiers | Type | Description |
|---|---|---|---|
| billingAddress? | Maybe<CustomerCreditCardBillingAddress> | (Optional) The billing address of the card. | |
| brand | Scalars[‘String’][‘output’] | The brand of the card. | |
| expiresSoon | Scalars[‘Boolean’][‘output’] | Whether the card is about to expire. | |
| expiryMonth | Scalars[‘Int’][‘output’] | The expiry month of the card. | |
| expiryYear | Scalars[‘Int’][‘output’] | The expiry year of the card. | |
| firstDigits? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The card’s BIN number. | |
| isRevocable | Scalars[‘Boolean’][‘output’] | The payment method can be revoked if there are no active subscription contracts. | |
| lastDigits | Scalars[‘String’][‘output’] | The last 4 digits of the card. | |
| maskedNumber | Scalars[‘String’][‘output’] | The masked card number with only the last 4 digits displayed. | |
| name | Scalars[‘String’][‘output’] | The name of the card holder. | |
| source? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The source of the card if coming from a wallet such as Apple Pay. | |
| virtualLastDigits? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The last 4 digits of the Device Account Number. |