---
updatedAt: 2025-05-28T20:07:07.000Z
agentTools:
  projectIndex: https://devportal.fintensy.com/llms.txt
---

# Put suggested category for a transaction

PUT: /banks/bank-holders/{guid}/accounts/{guid}/transactions/{guid}/category

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "OpenBanking API definitions",
    "description": "An overview of the API definitions used in the OpenBanking application.",
    "contact": {
      "name": "Fintensy",
      "url": "https://www.fintensy.com/"
    },
    "version": "v1"
  },
  "paths": {
    "/banks/bank-holders/{referenceId}/accounts/{bankAccountId}/transactions/{transactionId}/category": {
      "put": {
        "tags": [
          "BankHolderAccount"
        ],
        "summary": "Put suggested category for a transaction",
        "description": "PUT: /banks/bank-holders/{guid}/accounts/{guid}/transactions/{guid}/category",
        "parameters": [
          {
            "name": "referenceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "bankAccountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenBanking.Web.Api.Models.BankHolderAccounts.UpdateTransactionSuggestedCategoryInputModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OpenBanking.Web.Api.Models.BankHolderAccounts.UpdateTransactionSuggestedCategoryInputModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The entity has been updated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The input model is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Mozzeno.Web.Api.ErrorModel"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Mozzeno.Web.Api.ErrorInformationModel": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "nullable": true
          },
          "actual_value": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "min_length": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "max_length": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Mozzeno.Web.Api.ErrorModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mozzeno.Web.Api.ErrorInformationModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OpenBanking.Web.Api.Models.BankHolderAccounts.UpdateTransactionSuggestedCategoryInputModel": {
        "type": "object",
        "properties": {
          "suggested_category": {
            "type": "string",
            "nullable": true
          },
          "suggested_category_comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  },
  "servers": [
    {
      "url": "https://api.myproved.eu"
    }
  ]
}
```