---
title: "POST /api/fee-schemes"
method: POST
path: "/api/fee-schemes"
tags: ["api", "fee-schemes"]
---

# POST /api/fee-schemes

`POST /api/fee-schemes`

Create a fee scheme

## Request body

- POSTFeeSchemesCreateAFeeScheme
  - `name` string, required — The name of this fee scheme.
  - `fees` object[]
    - `_id` string — The ID of the Fee Scheme fee
    - `enabled` boolean — Whether this item will be applied
    - `exposed` boolean — Whether this fee will be exposed to the ticket buyer
    - `name` string, required — The name of the fee that can appear in reports.
    - `type` 'onTicket' | 'onHardTicket' | 'onCart', required — Type of application for the fee.
    - `included` boolean
    - `discountable` boolean
    - `asNet` boolean
    - `calculationBase` string
    - `rules` object[]
      - `min` number, float — Minimum price to apply this fee.
      - `max` number, float, nullable — Maximum price to apply this fee
      - `fix` number, float — The fix value of fee to be applied.
      - `var` number, float — The percentage value of the fee to be applied.
    - `taxServiceTypeId` string, nullable — The ID of the tax service of the fee

## Response `201`

Created

- FeeSchemeResource
  - `_id` string — The ID of the Fee Scheme
  - `sellerId` string, required — The ID of the seller of the fee scheme
  - `name` string, required — The name of this fee scheme.
  - `fees` object[]
    - `_id` string — The ID of the Fee Scheme fee
    - `enabled` boolean — Whether this item will be applied
    - `exposed` boolean — Whether this fee will be exposed to the ticket buyer
    - `name` string, required — The name of the fee that can appear in reports.
    - `type` 'onTicket' | 'onHardTicket' | 'onCart', required — Type of application for the fee.
    - `included` boolean
    - `discountable` boolean
    - `asNet` boolean
    - `calculationBase` string
    - `rules` object[]
      - `min` number, float — Minimum price to apply this fee.
      - `max` number, float, nullable — Maximum price to apply this fee
      - `fix` number, float — The fix value of fee to be applied.
      - `var` number, float — The percentage value of the fee to be applied.
    - `taxServiceTypeId` string, nullable — The ID of the tax service of the fee

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
