Skip to main content

Booking Detail Endpoint

Returns one booking in full for the authenticated customer.

  • Endpoint: /api/v1/bookings/{booking_number}
  • Method: GET or POST

Headers

HeaderValueRequiredDescription
Partner-Access-TokenBase64 StringYesYour encrypted AES-256 time-sensitive token.
AuthorizationBearer <token>YesCustomer access token from Login.
X-CurrencyCurrency CodeOptionalDisplay currency.
Accept-LanguageLanguage CodeOptionale.g. en, th, my.
Acceptapplication/jsonYes

Path Parameters

ParameterTypeRequiredDescription
booking_numberStringYesThe booking number from Checkout Confirm or My Bookings.

For a flight-only booking, this is the airline booking number returned by checkout confirm.

Sample Request

GET /api/v1/bookings/650E23E81BFC54D8

Response

data is a single booking object with exactly the same shape as one row of My Bookings, including the items array. For a flight, the pd9 item contains the full itinerary, passengers, pricing tiers, baggage allowance and cancellation policy — see Booking Result › Flight item for the field-by-field breakdown.

As with My Bookings, these responses are not snake-cased, so nested provider payloads keep their camelCase keys.

Sample Response

Truncated.

{
"result": 1,
"message": "success",
"data": {
"id": 10482,
"booking_number": "650E23E81BFC54D8",
"payment_ref": "7992370634757",
"currency": "THB",
"exchange_rate": 1,
"sub_total": 9830.00,
"grand_total": 10124.90,
"payment_status": "paid",
"payment_method": "two_c2p",
"payment_option": "card_payment",
"buyer_info": {
"first_name": "Alex",
"last_name": "Doe",
"email": "buyer@example.com",
"nationality": "Myanmar",
"nationality_code": "MM",
"phone_code": "66",
"phone_number": "800000001"
},
"bank_fee_type": "percentage",
"bank_fee_amount": 3,
"bank_fee_price": 294.90,
"discount_amount": 0,
"booked_at": "2026-08-26 09:02:11",
"created_at": "2026-08-26T09:02:11.000000Z",
"expired_at": "2026-08-26T09:32:11.000000Z",
"items": [
{
"product_type": "pd9",
"booking_number": "650E23E81BFC54D8",
"pnr_code": "XY7Z2Q",
"pnr_list_str": "XY7Z2Q",
"booking_summary": {
"booking_status": "completed",
"payment_status": "paid",
"trip_type": "1",
"adult_quantity": 1,
"child_quantity": 0,
"infant_quantity": 0,
"sub_total": 9830.00,
"ancillary_pricing": 1380.00,
"grand_total": 10124.90,
"currency_code": "THB",
"display_currency": "THB",
"provider_currency": "USD"
},
"contact_details": {
"first_name": "Alex",
"last_name": "Doe",
"email": "buyer@example.com",
"phone_code": "66",
"phone_number": "800000001",
"full_phone_number": "+66 800000001"
},
"passengers": [
{
"first_name": "John",
"last_name": "Doe",
"birth_date": "May 14, 1990",
"age": 36,
"type": "Adult",
"gender": "Male",
"nationality_code": "TH",
"nationality": "Thailand",
"document_issue_place_code": "TH",
"document_issue_place": "Thailand",
"document_number": "AB1234567",
"document_expire_date": "2030-01-31",
"full_phone_number": "(+66) 800000000",
"baggage_ancillary": null
}
],
"journey_list": [ ],
"flight_details": [ ],
"baggage_info": [ ],
"cancellation_policy": [ ],
"ancillary_details": [ ],
"pricing_details": {
"provider": { "currency": "USD" },
"system": { "currency": "THB", "grand_total": 10124.90 },
"display": { "currency": "THB", "grand_total": 10124.90 }
},
"booking_detail_link": "https://.../flight/booking/650E23E81BFC54D8?signature=...",
"created_at": "2026-08-26 09:02:11"
}
]
}
}

Errors

HTTPBodyCause
401Missing or invalid Authorization bearer token.
200{"result": 0, "message": "Booking not found"}The booking number does not exist, or does not belong to this customer and partner.