Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

PaymentSource Object

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

The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.

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

Fields

gateway

gateway · String!

Payment gateway name.

paymentMethodId

paymentMethodId · String

ID of stored payment method.

creditCardInfo

creditCardInfo · CreditCard

Stored credit card details if available.

metadata

metadata · [MetadataItem!]!

List of public metadata items.

Can be accessed without permissions.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?