Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

paymentGatewayInitializeTokenization Mutation

Initializes payment gateway for tokenizing payment method session.

Requires one of the following permissions:AUTHENTICATED_USER

Triggers the following webhook events:

  • PAYMENT_GATEWAY_INITIALIZE_TOKENIZATION_SESSION (sync): The customer requested to initialize payment gateway for tokenization.

Applied directives

@webhookEventsInfo(asyncEvents: [], syncEvents: [PAYMENT_GATEWAY_INITIALIZE_TOKENIZATION_SESSION])
paymentGatewayInitializeTokenization(channel: String!, data: JSON, id: String!): PaymentGatewayInitializeTokenization

Returns

PaymentGatewayInitializeTokenization

Show return type
type PaymentGatewayInitializeTokenization {
  result: PaymentGatewayInitializeTokenizationResult!
  data: JSON
  errors: [PaymentGatewayInitializeTokenizationError!]!
}

Arguments

channel

channel · String!

Slug of a channel related to tokenization request.

data

data · JSON

The data that will be passed to the payment gateway.

id

id · String!

The identifier of the payment gateway app to initialize tokenization.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?