Skip to main content

TransactionInitialize

Initializes a transaction session. It triggers the webhook TRANSACTION_INITIALIZE_SESSION, to the requested paymentGateways. 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 TransactionInitialize {
transaction: TransactionItem
transactionEvent: TransactionEvent
data: JSON
errors: [TransactionInitializeError!]!
}

Fields

TransactionInitialize.transaction ● TransactionItem object payments

The initialized transaction.

TransactionInitialize.transactionEvent ● TransactionEvent object payments

The event created for the initialized transaction.

TransactionInitialize.data ● JSON scalar miscellaneous

The JSON data required to finalize the payment.

TransactionInitialize.errors ● [TransactionInitializeError!]! non-null object payments

Returned By

transactionInitialize mutation