> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/payments/llms.txt)
> Source: https://docs.saleor.io/api-reference/payments/mutations/payment-method-process-tokenization

# paymentMethodProcessTokenization Mutation

Tokenize payment method.

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   PAYMENT\_METHOD\_PROCESS\_TOKENIZATION\_SESSION (sync): The customer continues payment method tokenization.

```graphql
paymentMethodProcessTokenization(
  channel: String!
  data: JSON
  id: String!
): PaymentMethodProcessTokenization
```

Details

```graphql
type PaymentMethodProcessTokenization {
  result: PaymentMethodTokenizationResult!
  id: String
  data: JSON
  errors: [PaymentMethodProcessTokenizationError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="channel"></a>

#### [`channel`](#channel) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Slug of a channel related to tokenization request.

<a id="data"></a>

#### [`data`](#data) ● [`JSON`](/api-reference/miscellaneous/scalars/json.md)

The data that will be passed to the payment gateway.

<a id="id"></a>

#### [`id`](#id) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

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

<a id="type"></a>

### Type

<a id="paymentmethodprocesstokenization"></a>

#### [`PaymentMethodProcessTokenization`](/api-reference/payments/objects/payment-method-process-tokenization.md)

Tokenize payment method.

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   PAYMENT\_METHOD\_PROCESS\_TOKENIZATION\_SESSION (sync): The customer continues payment method tokenization.
