Skip to main content

TransactionCreateInput

No description

input TransactionCreateInput {
status: String
type: String
name: String
message: String
reference: String
pspReference: String
availableActions: [TransactionActionEnum!]
amountAuthorized: MoneyInput
amountCharged: MoneyInput
amountRefunded: MoneyInput
amountVoided: MoneyInput
amountCanceled: MoneyInput
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
externalUrl: String
}

Fields

TransactionCreateInput.status ● String scalar

Status of the transaction.

DEPRECATED: this field will be removed in Saleor 3.15 (Preview Feature). The status is not needed. The amounts can be used to define the current status of transactions.

TransactionCreateInput.type ● String scalar

Payment type used for this transaction.

DEPRECATED: this field will be removed in Saleor 3.15 (Preview Feature). Use name and message instead.

TransactionCreateInput.name ● String scalar

Payment name of the transaction.

Added in Saleor 3.13

TransactionCreateInput.message ● String scalar

The message of the transaction.

Added in Saleor 3.13

TransactionCreateInput.reference ● String scalar

Reference of the transaction.

DEPRECATED: this field will be removed in Saleor 3.15 (Preview Feature). Use pspReference instead.

TransactionCreateInput.pspReference ● String scalar

PSP Reference of the transaction.

Added in Saleor 3.13

TransactionCreateInput.availableActions ● [TransactionActionEnum!] list enum

List of all possible actions for the transaction

TransactionCreateInput.amountAuthorized ● MoneyInput input

Amount authorized by this transaction.

TransactionCreateInput.amountCharged ● MoneyInput input

Amount charged by this transaction.

TransactionCreateInput.amountRefunded ● MoneyInput input

Amount refunded by this transaction.

TransactionCreateInput.amountVoided ● MoneyInput input

Amount voided by this transaction.

DEPRECATED: this field will be removed in Saleor 3.15 (Preview Feature). Use amountCanceled instead.

TransactionCreateInput.amountCanceled ● MoneyInput input

Amount canceled by this transaction.

Added in Saleor 3.13

TransactionCreateInput.metadata ● [MetadataInput!] list input

Payment public metadata.

TransactionCreateInput.privateMetadata ● [MetadataInput!] list input

Payment private metadata.

TransactionCreateInput.externalUrl ● String scalar

The url that will allow to redirect user to payment provider page with transaction event details.

Added in Saleor 3.13

Member of

OrderBulkCreateInput input ● transactionCreate mutation


Was this page helpful?