> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fluz.app/llms.txt
> Use this file to discover all available pages before exploring further.

# updateTransactionMetadata

> Updates the memo, category, and/or attachment on an existing transaction.

Updates the memo, category, and/or attachment on an existing transaction.
Requires LIST\_PAYMENT and LIST\_PURCHASES scope.

```graphql theme={null}
mutation {
  updateTransactionMetadata(
    input: UpdateTransactionMetadataInput!
  ): UpdatedTransaction
}
```

## Arguments

<ParamField body="input" type="UpdateTransactionMetadataInput!" required>
  *No description provided in the schema yet.*
</ParamField>

## Returns

[`UpdatedTransaction`](/api-reference/types/updated-transaction) — UpdatedTransaction is the transaction record returned by the updateTransactionMetadata mutation: the persisted transaction row plus the memo/category/attachment just written.
