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
PaymentSource.gateway ● String! non-null scalar
Payment gateway name.
PaymentSource.paymentMethodId ● String scalar
ID of stored payment method.
PaymentSource.creditCardInfo ● CreditCard object
Stored credit card details if available.
PaymentSource.metadata ● [MetadataItem!]! non-null object
List of public metadata items.
Added in Saleor 3.1Can be accessed without permissions.
Member of
User object
Was this page helpful?