---
title: "Get Service Fee"
method: GET
path: "/bookings/service-fee"
tags: ["Bookings"]
---

# Get Service Fee

`GET /bookings/service-fee`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/bookings/service-fee`
- Auth: none declared

Return the Total Parks service fee for a given booking subtotal.

## Query parameters

- `subtotal` union, required: Booking subtotal (accommodation + pet fees)
  - number
  - string
- `currency` string

## Headers

- `API-Version` '1'

## Response `200`

Calculated service fee for the given subtotal

- ServiceFeeResponse: Response from service fee calculation.
  - `service_fee` string, required: Calculated service fee
  - `grand_total` string, required: Subtotal + service fee
  - `currency` string: Currency code (ISO 4217)

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/totalparks/apis/total-parks-public-api.md) · [All operations](https://skmtc.dev/totalparks/apis/total-parks-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/totalparks/apis/total-parks-public-api/revisions/dcb4c822e2c6?raw)
