Hermeseus Docs
Legacy docs

Confirm a rate

Before booking, confirm the rate. This re-prices it against the source and checks it is still available, then stores the confirmed rate so you can create an order from it.

Confirm a rate

GET/v3/HAPI/hotels/rates/{id}

Requires the hotels:read scope. The {id} is the hrt_ id from a search.

curl https://api.hermeseus.com/v3/HAPI/hotels/rates/hrt_Ym9va2FwcDphYmMxMjM \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Response

The same hotel_rate shape as search, re-priced, with revalidated set to true.

{
  "object": "hotel_rate",
  "id": "hrt_Ym9va2FwcDphYmMxMjM",
  "check_in": "2026-11-14",
  "check_out": "2026-11-16",
  "nights": 2,
  "total": { "amount": "360.00", "currency": "USD" },
  "refundable": true,
  "hotel": { /* … */ },
  "rooms": [ /* … */ ],
  "cancellation": { "non_refundable": false, "policy_text": "…", "policies": [ /* … */ ] },
  "revalidated": true
}
Confirmation is required before an order. Creating an order from a rate you have not confirmed in the current session returns 409 rate_not_revalidated. Confirm the rate immediately before creating the order, and read the returned total and cancellation so you charge and disclose the confirmed terms.

Errors

StatusCodeMeaning
404rate_not_foundThe id is malformed or not a rate id.
409rate_expiredThe rate is no longer available; run a fresh search.