Skip to main content

paymentMethodProcessTokenization Mutation

Tokenize payment method.

Requires the AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • PAYMENT_METHOD_PROCESS_TOKENIZATION_SESSION (sync): The customer continues payment method tokenization.
paymentMethodProcessTokenization(
channel: String!
data: JSON
id: String!
): PaymentMethodProcessTokenization
Details
type PaymentMethodProcessTokenization {
result: PaymentMethodTokenizationResult!
id: String
data: JSON
errors: [PaymentMethodProcessTokenizationError!]!
}

Arguments​

channel ● String!​

Slug of a channel related to tokenization request.

data ● JSON​

The data that will be passed to the payment gateway.

id ● String!​

The identifier of the payment gateway app to process payment method tokenization.

Type​

PaymentMethodProcessTokenization​

Tokenize payment method.

Requires the AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • PAYMENT_METHOD_PROCESS_TOKENIZATION_SESSION (sync): The customer continues payment method tokenization.