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

# CardInput Input Type

Card data used to check a payment balance.

The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.

```graphql
input CardInput {
  code: String!
  cvc: String
  money: MoneyInput!
}
```

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

### Fields

<a id="code"></a>

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

Payment method nonce, a token returned by the appropriate provider's SDK.

<a id="cvc"></a>

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

Card security code.

<a id="money"></a>

#### [`money`](#money) ● [`MoneyInput!`](/api-reference/miscellaneous/inputs/money-input.md)

Information about currency and amount.

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

### Member Of

[`PaymentCheckBalanceInput`](/api-reference/payments/inputs/payment-check-balance-input.md) input
