Team: Payments
🔒 #26532 Ручная выплата сотруднику в текущем месяце: недоплата, выплата вне расчёта. `paid` - сразу выплаченная (#26932).
#26532 Ручная выплата сотруднику в текущем месяце: недоплата, выплата вне расчёта. paid - сразу выплаченная (#26932).
Access: authorized (10 ) · Scope: write
Allows: company:payments (все обязательны; без ресурса)
TypeScript (copy-paste)
POST /team/payment/create
<details open><summary><b>Body</b></summary>export interface TeamPaymentCreateBody {
userID: string
type: team_payment_create_Body_type
amountTotal: number
amountPaid?: number | null
note?: string | null
paid?: boolean | null
}
</details>
<details open><summary><b>Response</b></summary>
export type TeamPaymentCreateResponse = IServerResponse<Record<string, any>>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
post/team/payment/create
Request
- Base URL: http://localhost
- URL: http://localhost/team/payment/create
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
Headers
devIDstring uuid required
UUID устройства клиента
tzstring required
Example:Europe/Moscow
Таймзона клиента (IANA или offset)
appstring required
Example:kosmodrom-web
Имя клиентского приложения
appVerstring required
Example:1.0.0
Версия клиента
rKeystring
Уникальный ключ запроса для логов/саппорта
Request body
Response
OK — IServerResponse<Record<string, any>>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.