---
title: TransactionUpdateInput Input Type
seo:
  title: TransactionUpdateInput Input Type
  description: TransactionUpdateInput Input Type - no description
slug: api-reference/payments/inputs/transaction-update-input
sidebar:
  label: TransactionUpdateInput
search:
  tags:
    - API reference
    - Payments
lastModified: '2026-04-13'
---

```graphql
input TransactionUpdateInput {
  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 [#name]

**`name`** · [`String`](/api-reference/miscellaneous/scalars/string)

Payment name of the transaction.
### message [#message]

**`message`** · [`String`](/api-reference/miscellaneous/scalars/string)

The message of the transaction.
### pspReference [#psp-reference]

**`pspReference`** · [`String`](/api-reference/miscellaneous/scalars/string)

PSP Reference of the transaction.
### availableActions [#available-actions]

**`availableActions`** · [`[TransactionActionEnum!]`](/api-reference/payments/enums/transaction-action-enum)

List of all possible actions for the transaction
### amountAuthorized [#amount-authorized]

**`amountAuthorized`** · [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input)

Amount authorized by this transaction.
### amountCharged [#amount-charged]

**`amountCharged`** · [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input)

Amount charged by this transaction.
### amountRefunded [#amount-refunded]

**`amountRefunded`** · [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input)

Amount refunded by this transaction.
### amountCanceled [#amount-canceled]

**`amountCanceled`** · [`MoneyInput`](/api-reference/miscellaneous/inputs/money-input)

Amount canceled by this transaction.
### metadata [#metadata]

**`metadata`** · [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input)

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 [#private-metadata]

**`privateMetadata`** · [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input)

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 [#external-url]

**`externalUrl`** · [`String`](/api-reference/miscellaneous/scalars/string)

The url that will allow to redirect user to payment provider page with transaction event details.
### paymentMethodDetails [#payment-method-details]

**`paymentMethodDetails`** · [`PaymentMethodDetailsInput`](/api-reference/miscellaneous/inputs/payment-method-details-input)

Details of the payment method used for the transaction.



## Used by

- [transactionUpdate (mutations)](/api-reference/payments/mutations/transaction-update)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
