Skip to main content

StoredPaymentMethod Object

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

type StoredPaymentMethod {
id: ID!
gateway: PaymentGateway!
paymentMethodId: String!
creditCardInfo: CreditCard
supportedPaymentFlows: [TokenizedPaymentFlowEnum!]
type: String!
name: String
data: JSON
}

Fields

id ● ID!

Stored payment method ID.

gateway ● PaymentGateway!

Payment gateway that stores this payment method.

paymentMethodId ● String!

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

creditCardInfo ● CreditCard

Stored credit card details if available.

supportedPaymentFlows ● [TokenizedPaymentFlowEnum!]

type ● String!

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

name ● String

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

data ● JSON

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

Member Of

Checkout object ● User object