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
StoredPaymentMethod.id
● ID!
non-null scalar miscellaneous
Stored payment method ID.
StoredPaymentMethod.gateway
● PaymentGateway!
non-null object payments
Payment gateway that stores this payment method.
StoredPaymentMethod.paymentMethodId
● String!
non-null scalar miscellaneous
ID of stored payment method used to make payment actions. Note: method ID is unique only within the payment gateway.
StoredPaymentMethod.creditCardInfo
● CreditCard
object payments
Stored credit card details if available.
StoredPaymentMethod.supportedPaymentFlows
● [TokenizedPaymentFlowEnum!]
list enum payments
StoredPaymentMethod.type
● String!
non-null scalar miscellaneous
Type of the payment method. Example: credit card, wallet, etc.
StoredPaymentMethod.name
● String
scalar miscellaneous
Payment method name. Example: last 4 digits of credit card, obfuscated email, etc.
StoredPaymentMethod.data
● JSON
scalar miscellaneous
JSON data returned by Payment Provider app for this payment method.