> ## 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!
  ): Transaction
}
```

## Arguments

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

## Returns

[`Transaction`](/api-reference/types/transaction) — Transaction represents a comprehensive record of all account activity including purchases, deposits, withdrawals, transfers, and payouts.
