Skip to main content

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 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.

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.