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
Show return type

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.