Cancellation Policies

How to read cancellation policies

Cancellation policies tells you how much you should charge user between the start and end Date of the policy.
ValueType field is enum: Amount, Percentage, Nights
Value field shows the value of ValueType
EstimatedValue field shows how much amount can be charged
For example:
For ValueType = Amount => Value and EstimatedValue will be same. It will be the amount that can be charged.
For ValueType = Percentage => Value can be between 0 to 100% and EstimatedValue will be the amount that can be charged.
For ValueType = Nights => Value will be the number of nights to be charged and EstimatedValue will be the amount that can be charged.
Below rule tells that user can cancel between these dates and booking is fully refundable.
{
"value": 0,
"valueType": "Amount",
"estimatedValue": 0,
"start": "2025-02-10T00:00:00+00:00",
"end": "2025-03-14T11:00:00+00:00"
}
Below rule tells that between these dates, estimatedValue will be charged to the user if booking is cancelled between below mentioned start and end date
{
"value": 709,
"valueType": "Amount",
"estimatedValue": 709,
"start": "2025-03-14T11:00:00+00:00",
"end": "2025-03-17T00:00:00+00:00"
}
Below rule tells that between these dates, estimatedValue will be charged to the user if booking is cancelled between below mentioned start and end date
{
"value": 3424,
"valueType": "Amount",
"estimatedValue": 3424,
"start": "2025-03-17T00:00:00+00:00",
"end": "2025-03-17T00:00:00+00:00"
}