hotels

Cancel a hotel booking

Only this account’s own bookings (404 otherwise). A refundable rate cancelled before its free_cancellation_until comes back in full: the captured payment is refunded, or a hold not yet captured is released. A cancellation that would cost money (a non-refundable rate, or past the free window) is refused with 409; the supplier ladder is in the booking terms. Can take over a minute — if the request times out, do NOT assume it failed; re-check before retrying.

post/hotels/cancel

Request

  • Base URL: https://letsfg.co/developers/api/v1
  • URL: https://letsfg.co/developers/api/v1/hotels/cancel
  • Auth: API key in header X-API-Key

Request body

confirmationstring required

The confirmation from a succeeded booking.

Response

Cancelled; refund says what happened to the guest payment.

confirmationstring
chargestring

The supplier cancellation charge (0.00 on a free cancellation).

Changes

No recorded changes to this operation across all 1 revision of this API.