v1

latestOpenAPI 3.0.02026-07-2412592575.3 KB
transactions

Patch a transaction split

Requires transactions:write:all scope.

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

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"
    }
  ]
}