Skip to main content

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 miscellaneous

Slug of a channel related to tokenization request.

paymentGatewayInitializeTokenization.data ● JSON scalar miscellaneous

The data that will be passed to the payment gateway.

paymentGatewayInitializeTokenization.id ● String! non-null scalar miscellaneous

The identifier of the payment gateway app to initialize tokenization.

Type

PaymentGatewayInitializeTokenization object payments

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.