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

# CardPaymentMethodDetailsInput Input Type

No description

```graphql
input CardPaymentMethodDetailsInput {
  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 used for the transaction. Max length is 256 characters.

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

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

Brand of the payment method used for the transaction. Max length is 40 characters.

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

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

First digits of the card used for the transaction. Max length is 4 characters.

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

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

Last digits of the card used for the transaction. Max length is 4 characters.

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

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

Expiration month of the card used for the transaction. Value must be between 1 and 12.

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

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

Expiration year of the card used for the transaction. Value must be between 2000 and 9999.

<a id="member-of"></a>

### Member Of

[`PaymentMethodDetailsInput`](/api-reference/miscellaneous/inputs/payment-method-details-input.md) input
