Skip to main content

TransactionCreateInput Input Type

No description

input TransactionCreateInput {
name: String
message: String
pspReference: String
availableActions: [TransactionActionEnum!]
amountAuthorized: MoneyInput
amountCharged: MoneyInput
amountRefunded: MoneyInput
amountCanceled: MoneyInput
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
externalUrl: String
paymentMethodDetails: PaymentMethodDetailsInput
}

Fields​

name ● String​

Payment name of the transaction.

message ● String​

The message of the transaction.

pspReference ● String​

PSP Reference of the transaction.

availableActions ● [TransactionActionEnum!]​

List of all possible actions for the transaction

amountAuthorized ● MoneyInput​

Amount authorized by this transaction.

amountCharged ● MoneyInput​

Amount charged by this transaction.

amountRefunded ● MoneyInput​

Amount refunded by this transaction.

amountCanceled ● MoneyInput​

Amount canceled by this transaction.

metadata ● [MetadataInput!]​

Payment public metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

privateMetadata ● [MetadataInput!]​

Payment private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

externalUrl ● String​

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

paymentMethodDetails ● PaymentMethodDetailsInput​

Details of the payment method used for the transaction.

Added in Saleor 3.22

Member Of​

OrderBulkCreateInput input ● transactionCreate mutation