Skip to main content
Version: 3.x

transactionCreate

Create transaction for checkout or order. Requires the following permissions: AUTHENTICATED_APP and HANDLE_PAYMENTS.

Added in Saleor 3.4.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

transactionCreate(
id: ID!
transaction: TransactionCreateInput!
transactionEvent: TransactionEventInput
): TransactionCreate

Arguments

id (ID!)

The ID of the checkout or order.

transaction (TransactionCreateInput!)

Input data required to create a new transaction object.

transactionEvent (TransactionEventInput)

Data that defines a transaction event.

Type

TransactionCreate

Create transaction for checkout or order. Requires the following permissions: AUTHENTICATED_APP and HANDLE_PAYMENTS.

Added in Saleor 3.4.

Note: this API is currently in Feature Preview and can be subject to changes at later point.