> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/payments/llms.txt)
> Source: https://docs.saleor.io/api-reference/payments/inputs/transaction-create-input

# TransactionCreateInput Input Type

No description

```graphql
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
}
```

<a id="fields"></a>

### Fields

<a id="name"></a>

#### [`name`](#name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Payment name of the transaction.

<a id="message"></a>

#### [`message`](#message) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The message of the transaction.

<a id="psp-reference"></a>

#### [`pspReference`](#psp-reference) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

PSP Reference of the transaction.

<a id="available-actions"></a>

#### [`availableActions`](#available-actions) ● [`[TransactionActionEnum!]`](/api-reference/payments/enums/transaction-action-enum.md)

List of all possible actions for the transaction

<a id="amount-authorized"></a>

#### [`amountAuthorized`](#amount-authorized) ● [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input.md)

Amount authorized by this transaction.

<a id="amount-charged"></a>

#### [`amountCharged`](#amount-charged) ● [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input.md)

Amount charged by this transaction.

<a id="amount-refunded"></a>

#### [`amountRefunded`](#amount-refunded) ● [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input.md)

Amount refunded by this transaction.

<a id="amount-canceled"></a>

#### [`amountCanceled`](#amount-canceled) ● [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input.md)

Amount canceled by this transaction.

<a id="metadata"></a>

#### [`metadata`](#metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="private-metadata"></a>

#### [`privateMetadata`](#private-metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="external-url"></a>

#### [`externalUrl`](#external-url) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

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

<a id="payment-method-details"></a>

#### [`paymentMethodDetails`](#payment-method-details) ● [`PaymentMethodDetailsInput`](/api-reference/miscellaneous/inputs/payment-method-details-input.md)

Details of the payment method used for the transaction.

Added in Saleor 3.22

<a id="member-of"></a>

### Member Of

[`OrderBulkCreateInput`](/api-reference/orders/inputs/order-bulk-create-input.md) input  ● [`transactionCreate`](/api-reference/payments/mutations/transaction-create.md) mutation
