---
title: "Update a fee schedule"
method: PATCH
path: "/v1/fee-schedules/{scheduleId}"
tags: ["Configuration Fee Schedules"]
---

# Update a fee schedule

`PATCH /v1/fee-schedules/{scheduleId}`

Use this endpoint to update the fields of a specific fee schedule by its identifier.

## Path parameters

- `scheduleId` string, required

## Headers

- `X-Request-Id` string
- `X-Idempotency-Key` string

## Request body

- UpdateFeeScheduleRequest — Payload for updating a fee schedule
  - `name` string — Updated display name
  - `applicationOrder` 'PARALLEL' | 'CASCADING' — Determines how multiple fee items compose within a schedule
  - `roundingScale` integer — Updated number of decimal places
  - `roundingMode` 'HALF_UP' | 'BANKERS' | 'FLOOR' | 'CEIL' | 'TRUNCATE' — Determines how intermediate fee calculations are rounded

## Response `200`

Successfully updated fee schedule.

The response includes the `X-Idempotency-Replayed` header.

If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.

See [Retries and idempotency](/en/reference/retries-idempotency) for more details.

- FeeScheduleResponse — Fee schedule with its fee items
  - `id` string, uuid — Unique identifier for the fee schedule
  - `tenantId` string, uuid — Tenant that owns this fee schedule
  - `name` string — Display name for the fee schedule
  - `currency` string — Currency code (ISO 4217)
  - `applicationOrder` 'PARALLEL' | 'CASCADING' — Determines how multiple fee items compose within a schedule
  - `roundingScale` integer — Number of decimal places for rounding
  - `roundingMode` 'HALF_UP' | 'BANKERS' | 'FLOOR' | 'CEIL' | 'TRUNCATE' — Determines how intermediate fee calculations are rounded
  - `items` FeeScheduleItemResponse[] — Fee items in this schedule
    - `id` string, uuid — Unique identifier for the fee item
    - `name` string — Display name for the fee item
    - `priority` integer — Execution priority (lower numbers run first)
    - `structureType` 'FLAT' | 'PERCENTAGE' | 'TIERED' — Type of fee structure for a fee schedule item
    - `structure` object — Fee structure definition (varies by structureType)
    - `createdAt` string, date-time — Creation timestamp in RFC 3339 format
    - `updatedAt` string, date-time — Last update timestamp in RFC 3339 format
  - `createdAt` string, date-time — Creation timestamp in RFC 3339 format
  - `updatedAt` string, date-time — Last update timestamp in RFC 3339 format

## Other responses

- `400` — Invalid request payload
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — Fee schedule not found
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
