Skip to main content

PaymentMethodInitializeTokenization Object

Tokenize payment method.

Requires the 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

result ● PaymentMethodTokenizationResult!

A status of the payment method tokenization.

id ● String

The identifier of the payment method.

data ● JSON

A data returned by the payment app.

errors ● [PaymentMethodInitializeTokenizationError!]!

Returned By

paymentMethodInitializeTokenization mutation