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.
type PaymentMethodInitializeTokenization {
result: PaymentMethodTokenizationResult!
id: String
data: JSON
errors: [PaymentMethodInitializeTokenizationError!]!
}

Fields

PaymentMethodInitializeTokenization.result ● PaymentMethodTokenizationResult! non-null enum

A status of the payment method tokenization.

PaymentMethodInitializeTokenization.id ● String scalar

The identifier of the payment method.

PaymentMethodInitializeTokenization.data ● JSON scalar

A data returned by the payment app.

PaymentMethodInitializeTokenization.errors ● [PaymentMethodInitializeTokenizationError!]! non-null object

Returned by

paymentMethodInitializeTokenization mutation


Was this page helpful?