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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

paymentInitialize Mutation

Initializes payment process when it is required by gateway.

paymentInitialize(channel: String, gateway: String!, paymentData: JSONString): PaymentInitialize

Returns

PaymentInitialize

Show return type
type PaymentInitialize {
  initializedPayment: PaymentInitialized
  paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [PaymentError!]!
}

Arguments

channel

channel · String

Slug of a channel for which the data should be returned.

gateway

gateway · String!

A gateway name used to initialize the payment.

paymentData

paymentData · JSONString

Client-side generated data required to initialize the payment.


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?