Skip to main content

CardPaymentMethodDetails Object

Represents a card payment method used for a transaction.

Added in Saleor 3.22
type CardPaymentMethodDetails implements PaymentMethodDetails {
name: String!
brand: String
firstDigits: String
lastDigits: String
expMonth: Int
expYear: Int
}

Fields

name ● String!

Name of the payment method.

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.

Interfaces

PaymentMethodDetails

Represents a payment method used for a transaction.

Added in Saleor 3.22