Skip to main content
POST
Confirm a TripJack held booking
This action exists only for TripJack offers whose prebook lifecycle contains available_booking_modes: ["INSTANT", "HOLD"]. Create the booking with booking_mode: "HOLD", then call this endpoint when booking status is ON_HOLD and available_actions contains CONFIRM_HOLD. Send the booking’s exact accepted_offer_id. Confirmation uses the supplier amount already bound to the accepted offer. Confirm before hold_deadline_at; TripJack may automatically cancel an unconfirmed hold after that deadline. This follows TripJack Hotel API v3: omitting paymentInfos creates the hold, and /oms/v3/hotel/confirm-book confirms it before the review response’s deadline. See the TripJack API documentation.

Authorizations

x-api-key
string
header
required

Environment-specific API key created in the Unifystays portal

Headers

X-Unifystays-Contract-Version
enum<string>
default:1

Hotel API contract version. Missing defaults to v1.

Available options:
1

Path Parameters

booking_id
string
required

Body

application/json
accepted_offer_id
string
required

The accepted offer ID stored with this held booking. Prevents confirming a different revision accidentally.

Response

contract_version
string
required
Example:

"1"

success
boolean
required
Example:

true

message
string
required
Example:

"Booking request accepted and is being processed."

data
object
required