Skip to main content
Version: 3.x

PaymentSource

Represents a payment source stored for user in payment gateway, such as credit card.

type PaymentSource {
gateway: String!
paymentMethodId: String
creditCardInfo: CreditCard
metadata: [MetadataItem!]!
}

Fields

gateway (String!)

Payment gateway name.

paymentMethodId (String)

ID of stored payment method.

creditCardInfo (CreditCard)

Stored credit card details if available.

metadata ([MetadataItem!]!)

List of public metadata items.

Added in Saleor 3.1.

Can be accessed without permissions.