---
title: "Get the cancellation fee"
url: "https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78/operations/getCancellationQuote"
---

> Full API specification: https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78.md

# Get the cancellation fee

`GET` `/reservations/{confirmationNumber}/cancellation-quote`

Operation ID: `getCancellationQuote`

The fee that would apply if the reservation were cancelled right now, with the policy terms.

## Path parameters

- `confirmationNumber` (string, required)

## Responses

- `200` - Cancellation quote.
- `404` - Not found, or owned by another partner.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kong Hotels Partner API
  version: 1.0.0
servers:
  - url: https://api.konghotels.cloud
    description: Kong Gateway
paths:
  /reservations/{confirmationNumber}/cancellation-quote:
    get:
      tags:
        - Reservations
      operationId: getCancellationQuote
      summary: Get the cancellation fee
      description: The fee that would apply if the reservation were cancelled right
        now, with the policy terms.
      parameters:
        - $ref: "#/components/parameters/ConfirmationNumber"
      responses:
        "200":
          description: Cancellation quote.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: "#/components/schemas/CancellationQuote"
        "404":
          $ref: "#/components/responses/NotFound"
security:
  - KongKeyAuth: []
  - KongConsumer: []
components:
  parameters:
    ConfirmationNumber:
      name: confirmationNumber
      in: path
      required: true
      schema:
        type: string
        examples:
          - KH4DEMO01
  schemas:
    CancellationQuote:
      type: object
      properties:
        confirmation_number:
          type: string
        is_cancellable:
          type: boolean
        status:
          $ref: "#/components/schemas/ReservationStatus"
        currency:
          type: string
        total:
          $ref: "#/components/schemas/Money"
        cancellation_fee:
          oneOf:
            - $ref: "#/components/schemas/Money"
            - type: "null"
        refundable_amount:
          oneOf:
            - $ref: "#/components/schemas/Money"
            - type: "null"
        policy:
          $ref: "#/components/schemas/CancellationTerms"
        calculated_at:
          type: string
          format: date-time
    ReservationStatus:
      type: string
      enum:
        - confirmed
        - checked_in
        - checked_out
        - cancelled
        - no_show
    Money:
      type: string
      pattern: ^-?\d+\.\d{2}$
      description: Decimal amount in the property currency.
      examples:
        - "389.00"
    CancellationTerms:
      type: object
      description: The policy applied to a specific stay, with a concrete deadline and
        penalty amount.
      properties:
        code:
          type: string
        name:
          type: string
        is_refundable:
          type: boolean
        free_cancellation_until:
          type:
            - string
            - "null"
          format: date-time
          examples:
            - 2026-12-03T16:00:00-05:00
        penalty_after_deadline:
          $ref: "#/components/schemas/Money"
        currency:
          type: string
        summary:
          type: string
          examples:
            - Free cancellation until Thu 3 Dec 2026, 16:00 EST. After that, 1
              night(s) of room charges (427.00 USD) apply.
    Problem:
      type: object
      description: RFC 9457 problem details. Extra members (e.g. `available_units`,
        `restrictions`, `reasons`) may be present.
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
        request_id:
          type: string
      additionalProperties: true
  responses:
    NotFound:
      description: Not found, or owned by another partner.
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/Problem"
          example:
            type: https://developers.konghotels.example/problems/not-found
            title: Resource not found
            status: 404
            detail: Property not found.
            instance: /properties/KXXXX
            request_id: 9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d
  securitySchemes:
    KongKeyAuth:
      type: apiKey
      in: header
      name: apikey
      description: Your API key, validated by Kong Gateway. The header name depends on
        the gateway's key-auth configuration.
    KongConsumer:
      type: apiKey
      in: header
      name: X-Consumer-ID
      description: "**Local development only.** Simulates the consumer identity Kong
        Gateway injects after authentication."
```
