---
title: "CancellationPolicy"
url: "https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78/schemas/CancellationPolicy"
---

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

# CancellationPolicy

## 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
components:
  schemas:
    CancellationPolicy:
      type: object
      properties:
        code:
          type: string
          enum:
            - FLEX24
            - FLEX48
            - MOD7D
            - NONREF
        name:
          type: string
        description:
          type: string
        is_refundable:
          type: boolean
        free_cancellation_hours_before_check_in:
          type:
            - integer
            - "null"
        penalty:
          type: object
          properties:
            type:
              type: string
              enum:
                - nights
                - percent
            value:
              type: number
```
