Skip to main content
Version: 3.x

CreditCard

No description

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

Fields

brand (String!)

Card brand.

firstDigits (String)

First 4 digits of the card number.

lastDigits (String!)

Last 4 digits of the card number.

expMonth (Int)

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

expYear (Int)

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