Skip to main content

paymentMethodInitializeTokenization Mutation

Tokenize payment method.

Requires the AUTHENTICATED_USERpermission.

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
Show return type

Arguments

channel ● String!

Slug of a channel related to tokenization request.

data ● JSON

The data that will be passed to the payment gateway.

id ● String!

The identifier of the payment gateway app to initialize payment method tokenization.

paymentFlowToSupport ● TokenizedPaymentFlowEnum!

The payment flow that the tokenized payment method should support.

Type

PaymentMethodInitializeTokenization

Tokenize payment method.

Requires the AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • PAYMENT_METHOD_INITIALIZE_TOKENIZATION_SESSION (sync): The customer requested to tokenize payment method.