Skip to main content

Card

A credit or debit card.

type Card {
brand: CardBrand!
brandHuman: String!
expired: Boolean!
expiry: CardExpiry!
externalId: String
last4: String!
}

Fields​

Card.brand ● CardBrand! non-null enum types​

The card's brand.

Card.brandHuman ● String! non-null scalar types​

The card's brand as a display name, e.g. Visa or Diners Club.

Card.expired ● Boolean! non-null scalar types​

Whether the card has expired.

Card.expiry ● CardExpiry! non-null object types​

The card's expiry month and year.

Card.externalId ● String scalar types​

The card's ID in the payment processor.

Card.last4 ● String! non-null scalar types​

The last four digits of the card number.

Implemented By​

PaymentSource union