Cancellation Policies & Refund Rules

Interpret G-Link cancellation policies and handle cancellation outcomes.

Use the policy returned by the API

Display cancellation rules exactly from the real-time product response. All policy times are in the hotel’s local time. At a boundary time, the supplier response is authoritative.

Cancellation restriction types

ValueMeaning
1Non-cancellable and non-modifiable.
2Cancellation after the specified deadline incurs a penalty.
3Free cancellation before the stated cutoff; non-cancellable afterwards.
4Free cancellation at any time.

Penalty calculation

When cancelRestrictionType=2, read each entry in cancelPenalties. A response can contain multiple penalty windows; show the one applicable to the cancellation time.

penaltiesTypeCalculation
1Number of room nights.
2Fixed monetary amount; use the returned currency.
3Percentage of the full order amount.
4Percentage of the first night’s room rate.

Implementation rules

  1. Fetch a fresh product/availability result before the user confirms a booking; never reuse an old cancellation rule as the final result.
  2. Store the policy returned for the selected rate plan, including each start/end time, currency, and penalty value.
  3. When the customer requests cancellation, call Cancel order and use its response as the final cancellation result.
  4. Do not calculate a refund locally as the final authority. A confirmed order can be subject to supplier cancellation checks.
  5. After payment, use the order-status webhook as the primary result channel and use order-detail lookup only as low-frequency compensation.

Customer-facing wording

Show the deadline, time zone/local hotel time, penalty basis, amount or percentage, and currency where provided. Avoid presenting a penalty estimate as a guaranteed refund amount.


Did this page help you?