Skip to main content
Version: 3.x

StoredPaymentMethod

Represents a payment method stored for user (tokenized) in payment gateway.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.
type StoredPaymentMethod {
id: ID!
gateway: PaymentGateway!
paymentMethodId: String!
creditCardInfo: CreditCard
supportedPaymentFlows: [TokenizedPaymentFlowEnum!]
type: String!
name: String
data: JSON
}

Fields

StoredPaymentMethod.id ● ID! non-null scalar

Stored payment method ID.

StoredPaymentMethod.gateway ● PaymentGateway! non-null object

Payment gateway that stores this payment method.

StoredPaymentMethod.paymentMethodId ● String! non-null scalar

ID of stored payment method used to make payment actions. Note: method ID is unique only within the payment gateway.

StoredPaymentMethod.creditCardInfo ● CreditCard object

Stored credit card details if available.

StoredPaymentMethod.supportedPaymentFlows ● [TokenizedPaymentFlowEnum!] list enum

StoredPaymentMethod.type ● String! non-null scalar

Type of the payment method. Example: credit card, wallet, etc.

StoredPaymentMethod.name ● String scalar

Payment method name. Example: last 4 digits of credit card, obfuscated email, etc.

StoredPaymentMethod.data ● JSON scalar

JSON data returned by Payment Provider app for this payment method.

Member of

Checkout object ● User object


Was this page helpful?