Skip to main content

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 miscellaneous

Payment gateway name.

PaymentSource.paymentMethodId ● String scalar miscellaneous

ID of stored payment method.

PaymentSource.creditCardInfo ● CreditCard object payments

Stored credit card details if available.

PaymentSource.metadata ● [MetadataItem!]! non-null object miscellaneous

List of public metadata items.

Added in Saleor 3.1

Can be accessed without permissions.

Member Of

User object