Skip to main content
Version: 3.x

paymentMethodInitializeTokenization

Tokenize payment method.

Added in Saleor 3.16
This API is currently in Feature Preview and can be subject to changes at later point.
Requires 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

Arguments

paymentMethodInitializeTokenization.channel ● String! non-null scalar

Slug of a channel related to tokenization request.

paymentMethodInitializeTokenization.data ● JSON scalar

The data that will be passed to the payment gateway.

paymentMethodInitializeTokenization.id ● String! non-null scalar

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

paymentMethodInitializeTokenization.paymentFlowToSupport ● TokenizedPaymentFlowEnum! non-null enum

The payment flow that the tokenized payment method should support.

Type

PaymentMethodInitializeTokenization object

Tokenize payment method.

Added in Saleor 3.16
This API is currently in Feature Preview and can be subject to changes at later point.
Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

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

Was this page helpful?