Requires the caas:transactions:write scope. Recategorise a single enriched transaction by setting a userCategoryId. Use the recategorisationType query parameter to control scope: single (this transaction only), future (this transaction and all future matching transactions), or past-and-future (this transaction, a future matching rule, and asynchronous recategorisation of matching historical transactions). The PATCH response returns immediately with the updated target transaction; when using past-and-future, historical recategorisation is processed asynchronously. A transaction with active splits, identified by its userCategoryId being set to the mixed category, cannot be recategorised: the request returns 409 Conflict. Clear the splits with DELETE /accounts/{accountId}/transactions/{transactionId}/splits before recategorising.
patch
https://api.moneyhub.co.uk/caas/v1/accounts//transactions/
