transactions

Patch a transaction split

Requires transactions:write:all scope.

patch/transactions/{transactionId}/splits/{splitId}

Request

  • Base URL
    https://api.moneyhub.co.uk/v3
  • URL
    https://api.moneyhub.co.uk/v3/transactions/{transactionId}/splits/{splitId}
  • Auth
    API key in header Authorization

Path parameters

transactionIdstring uuid required

The transaction id

splitIdstring uuid required

The split id

Request body

categoryIdstring

The category id. Standard categories are prefixed with 'std', custom categories are prefixed with 'cus'

descriptionstring

A description of the transaction split

projectIdstring

The project ID the transaction is associated with

Example request

{
  "categoryId": "std:4b0255f0-0309-4509-9e05-4b4e386f9b0d"
}

Response

Successful Transaction Splits Response

metaobject

Example response

{
  "data": [
    {
      "amount": {
        "value": -2300,
        "majorUnits": 23,
        "minorUnits": 0,
        "currency": "GBP"
      },
      "categoryId": "std:4b0255f0-0309-4509-9e05-4b4e386f9b0d",
      "id": "c390a94f-3824-4cdf-8d02-b0c5304d9f66",
      "projectId": "30be8fa43f30fc285e4c479e9dfd6a1dec2bead8ee6cc6276b8dac152c565e9e",
      "description": "Split 1"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.