---
title: "🔒 #26532 Правка штрафа, бонуса или коррекции, пока премия за их месяц не сформирована."
method: POST
path: "/team/payment/award-part/update"
tags: ["Team: Payments"]
---

# 🔒 #26532 Правка штрафа, бонуса или коррекции, пока премия за их месяц не сформирована.

`POST /team/payment/award-part/update`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/team/payment/award-part/update`
- Auth: one of:
  - API key in header `sid` and API key in header `rts` and API key in header `sig`
  - HTTP bearer

#26532 Правка штрафа, бонуса или коррекции, пока премия за их месяц не сформирована.

**Access:** `authorized` (10 ) · **Scope:** `write`

**Allows:** `user:bonus`, `company:payments` (все обязательны; проверка в команде по ресурсу из запроса)

### TypeScript (copy-paste)

**`POST /team/payment/award-part/update`**

<details open><summary><b>Params</b></summary>

```typescript
export interface TeamPaymentAwardPartUpdateParams {
  ID: string
}
```

</details>

<details open><summary><b>Body (Partial)</b></summary>

```typescript
export interface TeamPaymentAwardPartUpdateBody {
  amount?: number
  title?: string
  note?: string | null
  percent?: number
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type TeamPaymentAwardPartUpdateResponse = IServerResponse<Record<string, any>>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Query parameters

- `ID` string, uuid, required

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Request body

- TeamPaymentAwardPartUpdateBody: Partial body (Valid.Patch) for `team/payment/award-part/update` — все поля опциональны
  - `amount` number
  - `title` string
  - `note` string, nullable
  - `percent` integer

## Response `200`

OK — `IServerResponse<Record<string, any>>`

- object
  - `code` integer, required
  - `data` object, required: Response payload (нет ResponseData / doc.schema)
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest / Validation — неверные params/body/headers
- `401`: Unauthorized: Active user session required
- `403`: AccessNotAllowed: Privilege user:bonus (correction) or company:payments required
- `404`: NotFound: Award part not found
- `406`: TimeResync — расхождение rts с сервером
- `422`: UnprocessableContent: Award for the month is formed or part is created by the system

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
