paymentMethodInitializeTokenization Mutation
Tokenize payment method.
Triggers the following webhook events:
- PAYMENT_METHOD_INITIALIZE_TOKENIZATION_SESSION (sync): The customer requested to tokenize payment method.
paymentMethodInitializeTokenization(
channel: String!
data: JSON
id: String!
paymentFlowToSupport: TokenizedPaymentFlowEnum!
): PaymentMethodInitializeTokenization
Arguments
paymentMethodInitializeTokenization.channel
● String!
non-null scalar miscellaneous
Slug of a channel related to tokenization request.
paymentMethodInitializeTokenization.data
● JSON
scalar miscellaneous
The data that will be passed to the payment gateway.
paymentMethodInitializeTokenization.id
● String!
non-null scalar miscellaneous
The identifier of the payment gateway app to initialize payment method tokenization.
paymentMethodInitializeTokenization.paymentFlowToSupport
● TokenizedPaymentFlowEnum!
non-null enum payments
The payment flow that the tokenized payment method should support.
Type
PaymentMethodInitializeTokenization
object payments
Tokenize payment method.
Triggers the following webhook events:
- PAYMENT_METHOD_INITIALIZE_TOKENIZATION_SESSION (sync): The customer requested to tokenize payment method.