Update Category

PUT {{base_url}}/banking/v2/transactions/:transactionId/category

The ‘Update category’ endpoint can be used to update the category in a particular transaction.

If the user re-categorises a transaction to a different category, they can do so by using this endpoint.

Path variables

FieldTypeDescription
transactionIdstringUnique identifier for the transaction

Attributes

Field NameTypeDescription
idstringUnique identifier for the new category
updateTypestringupdateType {ONE will only recategorise a particular transaction, ALL will change all recategorise all similar transactions including past and future transactions}

Success

204 No content

Error messages

ConditionResponse StatusResponse Body
Invalid transactionId404 Not Found
Missing/Invalid categoryId400 Bad Request{ error: "Missing/invalid categoryId }
Missing/Invalid updateType400 Bad Request{ error: "Missing/invalid updateType }

Request Body

{"id"=>"category Id", "updateType"=>"ALL"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
X-Api-Keystring
X-Partner-Idstring
X-Company-Idstring