Skip to main content

paymentGatewayInitializeTokenization Mutation

Initializes payment gateway for tokenizing payment method session.

Requires 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

Arguments

paymentGatewayInitializeTokenization.channel ● String! non-null scalar miscellaneous

Slug of a channel related to tokenization request.

paymentGatewayInitializeTokenization.data ● JSON scalar miscellaneous

The data that will be passed to the payment gateway.

paymentGatewayInitializeTokenization.id ● String! non-null scalar miscellaneous

The identifier of the payment gateway app to initialize tokenization.

Type

PaymentGatewayInitializeTokenization object payments

Initializes payment gateway for tokenizing payment method session.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

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