Skip to main content

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 payments

A status of the payment method tokenization.

PaymentMethodInitializeTokenization.id ● String scalar miscellaneous

The identifier of the payment method.

PaymentMethodInitializeTokenization.data ● JSON scalar miscellaneous

A data returned by the payment app.

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

Returned By

paymentMethodInitializeTokenization mutation