> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/miscellaneous/llms.txt)
> Source: https://docs.saleor.io/api-reference/miscellaneous/objects/card-payment-method-details

# CardPaymentMethodDetails Object

Represents a card payment method used for a transaction.

Added in Saleor 3.22

```graphql
type CardPaymentMethodDetails implements PaymentMethodDetails {
  name: String!
  brand: String
  firstDigits: String
  lastDigits: String
  expMonth: Int
  expYear: Int
}
```

<a id="fields"></a>

### Fields

<a id="name"></a>

#### [`name`](#name) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Name of the payment method.

<a id="brand"></a>

#### [`brand`](#brand) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Card brand.

<a id="first-digits"></a>

#### [`firstDigits`](#first-digits) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

First 4 digits of the card number.

<a id="last-digits"></a>

#### [`lastDigits`](#last-digits) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Last 4 digits of the card number.

<a id="exp-month"></a>

#### [`expMonth`](#exp-month) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Two-digit number representing the card’s expiration month.

<a id="exp-year"></a>

#### [`expYear`](#exp-year) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Four-digit number representing the card’s expiration year.

<a id="interfaces"></a>

### Interfaces

<a id="paymentmethoddetails"></a>

#### [`PaymentMethodDetails`](/api-reference/miscellaneous/interfaces/payment-method-details.md)

Represents a payment method used for a transaction.

Added in Saleor 3.22
