For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Booking Detail

Endpoint: bookings/get

Look up a booking by bookingNumber or partnerReference.

{ "partnerReference": "ORDER-20261115-0001" }
{ "bookingNumber": "HTL2611150001" }

Response

Field
Type
Description

bookingNumber, partnerReference

string

status

enum

PENDING_PAYMENT, CONFIRMED, PENDING, FAILED, CANCELLED, EXPIRED

hotelConfirmationCode

string

masterId

string

hotelName

string

May be absent — take the name from your content catalogue by masterId

paymentDeadline, checkin, checkout, createdAt

rooms[]

array

{ roomName, mealPlan, guests[] }

totalAmount, currency

cancelPolicies[]

array

{ from, penaltyAmount }

{
  "bookingNumber": "HTL2611150001",
  "partnerReference": "ORDER-20261115-0001",
  "status": "CONFIRMED",
  "hotelConfirmationCode": "DN-55821",
  "masterId": "30715",
  "checkin": "2026-11-20",
  "checkout": "2026-11-22",
  "rooms": [{
    "roomName": "Deluxe Ocean View",
    "mealPlan": "BREAKFAST",
    "guests": [{ "firstName": "An", "lastName": "Nguyen", "type": "ADULT" }]
  }],
  "totalAmount": 2400000,
  "currency": "VND",
  "cancelPolicies": [{ "from": "2026-11-18T12:00:00+07:00", "penaltyAmount": 1200000 }],
  "paymentDeadline": "2026-11-15T15:20:00+07:00",
  "createdAt": "2026-11-15T15:05:00+07:00"
}

Cập nhật lần cuối