Skip to main content

PaymentGatewayInitialize

Initializes a payment gateway session. It triggers the webhook PAYMENT_GATEWAY_INITIALIZE_SESSION, to the requested paymentGateways. If paymentGateways is not provided, the webhook will be send to all subscribed payment gateways. There is a limit of 100 transaction items per checkout / order.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.
type PaymentGatewayInitialize {
gatewayConfigs: [PaymentGatewayConfig!]
errors: [PaymentGatewayInitializeError!]!
}

Fields

PaymentGatewayInitialize.gatewayConfigs ● [PaymentGatewayConfig!] list object payments

List of payment gateway configurations.

PaymentGatewayInitialize.errors ● [PaymentGatewayInitializeError!]! non-null object payments

Returned By

paymentGatewayInitialize mutation