Merge Portfolio Transactions
merge_transactionsDestructively combine wallet movements from several accounting transactions into one target transaction and reclassify it; preview the grouping first, then track the queued requestId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional immutable root reason. Nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references. | |
| subType | No | Optional operation sub-type | |
| operations | Yes | Operations to merge into the target | |
| portfolioRef | Yes | Portfolio exact name or slug | |
| workspaceRef | Yes | Workspace exact name or slug | |
| operationType | Yes | Accounting operation type for the merged transaction | |
| transactionId | Yes | Target transaction the operations are merged into |