Skip to main content

transactionCreate

Create transaction for checkout or order.

Added in Saleor 3.4
This API is currently in Feature Preview and can be subject to changes at later point.
Requires HANDLE_PAYMENTSpermission.
transactionCreate(
id: ID!
transaction: TransactionCreateInput!
transactionEvent: TransactionEventInput
): TransactionCreate

Arguments

transactionCreate.id ● ID! non-null scalar miscellaneous

The ID of the checkout or order.

transactionCreate.transaction ● TransactionCreateInput! non-null input payments

Input data required to create a new transaction object.

transactionCreate.transactionEvent ● TransactionEventInput input payments

Data that defines a transaction event.

Type

TransactionCreate object payments

Create transaction for checkout or order.

Added in Saleor 3.4
This API is currently in Feature Preview and can be subject to changes at later point.
Requires HANDLE_PAYMENTSpermission.