# Canceling a hotel booking The steps below explain how to cancel a hotel booking. > **Note:** Be sure to check the hotel's cancellation policy before canceling a booking (i.e., step 1 of the workflow explained below). Also, visit the [hotel cancellation concepts and scenarios](/spotnana/basic_hotel_concepts#hotel-cancellation) for more information. | Step | Name | Endpoint | Details | | --- | --- | --- | --- | | 1. | [Get PNR](/openapi/tripapi#operation/getPnrV3) (optional) | `/v3/trips/{tripId}/pnrs/{pnrId}` | Retrieve the hotel booking details (e.g., the cancellation policy) using its `pnrId`. In the response, navigate to the `hotelPnr` > `room` > `cancellationPolicy` field to view the cancellation policy of the booking. **URL path requires:** `pnrId` from step 4 of the [creating a hotel booking](/spotnana/hotel_booking_workflow) workflow. If the original booking has been modified, then use the `pnrId` from step 3 of the [modifying a hotel booking](/spotnana/hotel_modify_workflow) workflow. **Note:** Alternatively, you can also view the hotel booking details using the [Get trip details](/openapi/tripapi#operation/getTripDetailsV3) endpoint. | | 1. | [Cancel a hotel booking](/openapi/hotelapi#operation/hotelCancelPnr) | `/v2/hotel/pnrs/{pnrId}/cancel-pnr` | Cancel a hotel booking.**URL path requires:** `pnrId` from step 4 of the [creating a hotel booking](/spotnana/hotel_booking_workflow) workflow. If the original booking has been modified, then use the `pnrId` from step 3 of the [modifying a hotel booking](/spotnana/hotel_modify_workflow) workflow. |