Skip to main content
Version: Canary 🚧

paymentGatewayInitializeTokenization

Initializes payment gateway for tokenizing payment method session.

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_GATEWAY_INITIALIZE_TOKENIZATION_SESSION (sync): The customer requested to initialize payment gateway for tokenization.
paymentGatewayInitializeTokenization(
channel: String!
data: JSON
id: String!
): PaymentGatewayInitializeTokenization

Arguments

paymentGatewayInitializeTokenization.channel ● String! non-null scalar

Slug of a channel related to tokenization request.

paymentGatewayInitializeTokenization.data ● JSON scalar

The data that will be passed to the payment gateway.

paymentGatewayInitializeTokenization.id ● String! non-null scalar

The identifier of the payment gateway app to initialize tokenization.

Type

PaymentGatewayInitializeTokenization object

Initializes payment gateway for tokenizing payment method session.

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_GATEWAY_INITIALIZE_TOKENIZATION_SESSION (sync): The customer requested to initialize payment gateway for tokenization.

Was this page helpful?