> For the complete documentation index, see [llms.txt](https://apidocs.mytravellerschoice.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.mytravellerschoice.com/hotel-booking-api/booking-api/booking-apis/booking-details-api.md).

# Booking Details API

This will retrieve the booking details that you have made.

## API details

<mark style="color:green;">`GET`</mark>  `/api/v1/hotel/booking-api/booking/details/{referenceNumber}`

**Headers**

| Name            | Value                   |
| --------------- | ----------------------- |
| Content-Type    | `application/json`      |
| Authorization   | `Bearer <Access token>` |
| Accept-Encoding | `gzip`                  |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "success": true,
    "data": {
        "tokenNumber": "RA_1728413337142",
        "referenceNumber": "B2BHOT_1728413656963",
        "hotelBookingConfNo": "1_238-2406737_1",
        "fromDate": "2024-10-17",
        "toDate": "2024-10-20",
        "resevervations": [
            {
                "noOfAdults": 1,
                "noOfChildren": 0,
                "childrenAges": []
            }
        ],
        "hotel": {
            "hotelId": 100354,
            "hotelName": "Nine Hotel",
            "room": {
                "roomName": "Standard Room"
            },
            "roomCount": 1
        },
        "netPrice": 771,
        "noOfNights": 3,
        "travellerDetails": [
            {
                "roomId": 1,
                "title": "mr",
                "firstName": "First Name",
                "lastName": "Last Name",
                "type": "adult"
            }
        ],
        "cancellationPolicies": [
            {
                "from": "2024-10-16",
                "amount": 375
            }
        ],
        "status": "confirmed"
    }
}
```

{% endtab %}
{% endtabs %}
