---
title: "Update OSH Account"
method: PATCH
path: "/customers/osh/accounts"
---

# Update OSH Account

`PATCH /customers/osh/accounts`

## Request

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

## Request body

- object
  - `accountId` string, required: The account ID for the OSH account to be updated
  - `customerId` string, required: The customer ID associated with the OSH account
  - `creditLimit` number: The new credit limit for the OSH account
  - `balance` number: The new balance amount for the OSH account

## Response `204`

OSH Account updated successfully

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: OSH Account 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)
