Skip to main content

GiftCardPaymentMethodDetails Object

Represents a gift card payment method used for a transaction.

Added in Saleor 3.23
type GiftCardPaymentMethodDetails implements PaymentMethodDetails {
name: String!
brand: String
lastChars: String
isSaleorGiftcard: Boolean!
}

Fields​

name ● String!​

Name of the gift card.

brand ● String​

Brand of the gift card.

Added in Saleor 3.23

lastChars ● String​

Last characters of the gift card code. Max 4 characters.

Added in Saleor 3.23

isSaleorGiftcard ● Boolean!​

Indicates whether the gift card is a built-in Saleor gift card.

Added in Saleor 3.23

Interfaces​

PaymentMethodDetails​

Represents a payment method used for a transaction.

Added in Saleor 3.22