---
title: CreditCard Object
seo:
  title: CreditCard Object
  description: CreditCard Object - no description
slug: api-reference/payments/objects/credit-card
sidebar:
  label: CreditCard
search:
  tags:
    - API reference
    - Payments
lastModified: '2026-04-13'
---

```graphql
type CreditCard {
  brand: String!
  firstDigits: String
  lastDigits: String!
  expMonth: Int
  expYear: Int
}
```


## Fields

### brand [#brand]

**`brand`** · [`String!`](/api-reference/miscellaneous/scalars/string)

Card brand.
### firstDigits [#first-digits]

**`firstDigits`** · [`String`](/api-reference/miscellaneous/scalars/string)

First 4 digits of the card number.
### lastDigits [#last-digits]

**`lastDigits`** · [`String!`](/api-reference/miscellaneous/scalars/string)

Last 4 digits of the card number.
### expMonth [#exp-month]

**`expMonth`** · [`Int`](/api-reference/miscellaneous/scalars/int)

Two-digit number representing the card’s expiration month.
### expYear [#exp-year]

**`expYear`** · [`Int`](/api-reference/miscellaneous/scalars/int)

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

## Used by

- [Payment (objects)](/api-reference/payments/objects/payment)
- [PaymentSource (objects)](/api-reference/payments/objects/payment-source)
- [StoredPaymentMethod (objects)](/api-reference/payments/objects/stored-payment-method)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
