paymentGatewayInitializeTokenization Mutation
Initializes payment gateway for tokenizing payment method session.
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.