Skip to main content
Version: 3.x

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.
type PaymentGatewayInitializeTokenization {
result: PaymentGatewayInitializeTokenizationResult!
data: JSON
errors: [PaymentGatewayInitializeTokenizationError!]!
}

Fields

PaymentGatewayInitializeTokenization.result ● PaymentGatewayInitializeTokenizationResult! non-null enum

A status of the payment gateway initialization.

PaymentGatewayInitializeTokenization.data ● JSON scalar

A data returned by payment app.

PaymentGatewayInitializeTokenization.errors ● [PaymentGatewayInitializeTokenizationError!]! non-null object

Returned by

paymentGatewayInitializeTokenization mutation


Was this page helpful?