---
title: "Update Customer OSH Transactions"
method: PATCH
path: "/customers/osh/transactions"
---

# Update Customer OSH Transactions

`PATCH /customers/osh/transactions`

## Request

- Base URL: `https://api.open-finance.ai/v3/loans`
- URL: `https://api.open-finance.ai/v3/loans/customers/osh/transactions`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `update:transaction`

## Request body

- object
  - `transactionSk` string, required: The unique identifier for the transaction
  - `mainCategory` string: The main category for the transaction
  - `subCategory` string: The sub-category for the transaction
  - `classification` string: The classification for the transaction
  - `classificationSource` string: The source of the classification
  - `labels` string[]: Labels associated with the transaction

## Response `200`

Transaction updated successfully

## Other responses

- `400`: Bad Request
- `404`: Transaction not found
- `500`: Internal server error

---

[API](https://skmtc.dev/open-finance/apis/loans.md) - [All operations](https://skmtc.dev/open-finance/apis/loans/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/loans/revisions/915c69e62042?raw)
