Skip to main content
Version: Canary 🚧


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!]!


PaymentMethodInitializeTokenization.result ● PaymentMethodTokenizationResult! non-null enum

A status of the payment method tokenization. ● String scalar

The identifier of the payment method. ● JSON scalar

A data returned by the payment app.

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

Returned by

paymentMethodInitializeTokenization mutation

Was this page helpful?