---
title: "POST /api/v1.0/stores/{storeId}/servicecharge"
method: POST
path: "/api/v1.0/stores/{storeId}/servicecharge"
tags: ["Stores"]
---

# POST /api/v1.0/stores/{storeId}/servicecharge

`POST /api/v1.0/stores/{storeId}/servicecharge`

## Request

- Base URL: `https://api.flipdish.co`
- URL: `https://api.flipdish.co/api/v1.0/stores/{storeId}/servicecharge`
- Auth: OAuth 2 (implicit, authorization URL `https://api.flipdish.co/identity/connect/authorize`, scopes: `api`)

## Path parameters

- `storeId` integer, required

## Request body

- ServiceCharge: Store Service Charge
  - `StoreId` integer: Store identifier
  - `PercentageValue` number, double: The Default Service Charge Value
  - `Enabled` boolean: Enable Service Charge for store true(on) / false(off)
  - `IsOptional` boolean: Sets the service charge to be optional
  - `DisplayWithProcessingFee` boolean: Display service charge together with processing fee
  - `IncludesVouchers` boolean: If true, will include voucher value in calculation i.e 10E order with 1E service charge and 5E voucher would have service charge at 0.5E

## Response `200`

OK

- RestApiResultServiceCharge: Rest api result
  - `Data` ServiceCharge, required: Store Service Charge
    - `StoreId` integer: Store identifier
    - `PercentageValue` number, double: The Default Service Charge Value
    - `Enabled` boolean: Enable Service Charge for store true(on) / false(off)
    - `IsOptional` boolean: Sets the service charge to be optional
    - `DisplayWithProcessingFee` boolean: Display service charge together with processing fee
    - `IncludesVouchers` boolean: If true, will include voucher value in calculation i.e 10E order with 1E service charge and 5E voucher would have service charge at 0.5E

## Other responses

- `400`: BadRequest
- `401`: Authentication has been denied for this request.
- `403`: Successful authentication, but authorization has been denied for this request.
- `500`: InternalServerError

---

[API](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/revisions/4d8c2b9e1c13?raw)
