Skip to main content

paymentGatewayInitializeTokenization Mutation

Initializes payment gateway for tokenizing payment method session.

Requires the AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • PAYMENT_GATEWAY_INITIALIZE_TOKENIZATION_SESSION (sync): The customer requested to initialize payment gateway for tokenization.
paymentGatewayInitializeTokenization(
channel: String!
data: JSON
id: String!
): PaymentGatewayInitializeTokenization
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 initialize tokenization.

Type

PaymentGatewayInitializeTokenization

Initializes payment gateway for tokenizing payment method session.

Requires the AUTHENTICATED_USERpermission.

Triggers the following webhook events:

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