{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Booking and confirmation","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"booking-and-confirmation","__idx":0},"children":["Booking and confirmation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This operation covers the initial hotel booking flow, from when the traveler selects a hotel to when the supplier confirms the reservation."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Webhook used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"25%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Event trigger"},"children":["Event trigger"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Context"},"children":["Context"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["When the hotel confirms the reservation."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The hotel has accepted the reservation and created a booking for the traveler."," ","The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}," event payload will contain the PNR (i.e., the vendor confirmation number) created for this booking."," ","There is no ticketing step for hotel booking."," ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"For a pre-paid booking, the payment method is charged immediately when the booking is created."," ","For pay-at-hotel bookings, the traveler still needs to provide a payment method during checkout. When the booking is created, the service fee is"," ","charged to the card. For the hotel booking they can pay online later or pay at the hotel at the time of check-in."," ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example:"]}," A traveler books a 3-night stay at the Hilton Midtown NYC, from March 15 to March 18, at $250/night prepaid."," ","The hotel confirms the reservation with a confirmation number."," ","The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}," event is sent, and the $750 total + service fee is charged to the payment method."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Notes:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/webhookeventapi/webhooks/paths/service_charge/post"},"children":["SERVICE_CHARGE"]}," event and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVOICE_GENERATED"]}," event will be generated after the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}," step for both pre-paid and pay-at-hotel bookings."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For pay-at-hotel bookings, an invoice will be generated for the TMC service fee."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"hotel-booking-flow-diagram","__idx":1},"children":["Hotel booking flow diagram"]},{"$$mdtype":"Tag","name":"Mermaid","attributes":{"data-language":"mermaid","diagramSource":"flowchart LR\n    subgraph booking[\"Booking phase\"]\n        A[\"Traveler searches<br>for hotels\"] --> B[\"Traveler selects<br>hotel and room\"]\n        B --> C{\"Hotel confirms<br>reservation?\"}\n        C -->|Yes| D[\"<b>BOOKING_CREATED</b><br>―――――――――――<br>Hotel confirms the booking.<br>Confirmation number assigned.<br>Prepaid: card is charged.<br>Pay-at-hotel: no charge yet.\"]\n        C -->|\"No (rare)\"| E[\"No webhook<br>(booking remains pending)\"]\n    end\n\n    style A fill:#f0f0f0,stroke:#999\n    style B fill:#f0f0f0,stroke:#999\n    style D fill:#4CAF50,color:#fff\n    style E fill:#9E9E9E,color:#fff\n","diagramHtml":"<div class=\"mermaid\" data-processed=\"true\"><svg id=\"mermaid-1772803001158\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"flowchart\" style=\"max-width: 655.359375px;\" viewBox=\"0 0 655.359375 929.8125\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#mermaid-1772803001158{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-1772803001158 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-1772803001158 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-1772803001158 .error-icon{fill:#552222;}#mermaid-1772803001158 .error-text{fill:#552222;stroke:#552222;}#mermaid-1772803001158 .edge-thickness-normal{stroke-width:1px;}#mermaid-1772803001158 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-1772803001158 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-1772803001158 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-1772803001158 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-1772803001158 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-1772803001158 .marker{fill:#333333;stroke:#333333;}#mermaid-1772803001158 .marker.cross{stroke:#333333;}#mermaid-1772803001158 svg{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;}#mermaid-1772803001158 p{margin:0;}#mermaid-1772803001158 .label{font-family:\"trebuchet ms\",verdana,arial,sans-serif;color:#333;}#mermaid-1772803001158 .cluster-label text{fill:#333;}#mermaid-1772803001158 .cluster-label span{color:#333;}#mermaid-1772803001158 .cluster-label span p{background-color:transparent;}#mermaid-1772803001158 .label text,#mermaid-1772803001158 span{fill:#333;color:#333;}#mermaid-1772803001158 .node rect,#mermaid-1772803001158 .node circle,#mermaid-1772803001158 .node ellipse,#mermaid-1772803001158 .node polygon,#mermaid-1772803001158 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-1772803001158 .rough-node .label text,#mermaid-1772803001158 .node .label text,#mermaid-1772803001158 .image-shape .label,#mermaid-1772803001158 .icon-shape .label{text-anchor:middle;}#mermaid-1772803001158 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-1772803001158 .rough-node .label,#mermaid-1772803001158 .node .label,#mermaid-1772803001158 .image-shape .label,#mermaid-1772803001158 .icon-shape .label{text-align:center;}#mermaid-1772803001158 .node.clickable{cursor:pointer;}#mermaid-1772803001158 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-1772803001158 .arrowheadPath{fill:#333333;}#mermaid-1772803001158 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-1772803001158 .flowchart-link{stroke:#333333;fill:none;}#mermaid-1772803001158 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-1772803001158 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-1772803001158 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-1772803001158 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-1772803001158 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-1772803001158 .cluster text{fill:#333;}#mermaid-1772803001158 .cluster span{color:#333;}#mermaid-1772803001158 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-1772803001158 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-1772803001158 rect.text{fill:none;stroke-width:0;}#mermaid-1772803001158 .icon-shape,#mermaid-1772803001158 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-1772803001158 .icon-shape p,#mermaid-1772803001158 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-1772803001158 .icon-shape rect,#mermaid-1772803001158 .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-1772803001158 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-1772803001158 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-1772803001158 :root{--mermaid-font-family:\"trebuchet ms\",verdana,arial,sans-serif;}</style><g><marker id=\"mermaid-1772803001158_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"mermaid-1772803001158_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"mermaid-1772803001158_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"mermaid-1772803001158_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"mermaid-1772803001158_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"mermaid-1772803001158_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"></g><g class=\"edgeLabels\"></g><g class=\"nodes\"><g class=\"root\" transform=\"translate(0, 0)\"><g class=\"clusters\"><g class=\"cluster\" id=\"booking\" data-look=\"classic\"><rect style=\"\" x=\"8\" y=\"8\" width=\"639.359375\" height=\"913.8125\"></rect><g class=\"cluster-label\" transform=\"translate(272.78125, 8)\"><foreignObject width=\"109.796875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Booking phase</p></span></div></foreignObject></g></g></g><g class=\"edgePaths\"><path d=\"M327.84,123.5L327.84,129.75C327.84,136,327.84,148.5,327.84,160.333C327.84,172.167,327.84,183.333,327.84,188.917L327.84,194.5\" id=\"L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MzI3LjgzOTg0Mzc1LCJ5IjoxMjMuNX0seyJ4IjozMjcuODM5ODQzNzUsInkiOjE2MX0seyJ4IjozMjcuODM5ODQzNzUsInkiOjE5OC41fV0=\" marker-end=\"url(#mermaid-1772803001158_flowchart-v2-pointEnd)\"></path><path d=\"M327.84,276.5L327.84,282.75C327.84,289,327.84,301.5,327.84,313.333C327.84,325.167,327.84,336.333,327.84,341.917L327.84,347.5\" id=\"L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6MzI3LjgzOTg0Mzc1LCJ5IjoyNzYuNX0seyJ4IjozMjcuODM5ODQzNzUsInkiOjMxNH0seyJ4IjozMjcuODM5ODQzNzUsInkiOjM1MS41fV0=\" marker-end=\"url(#mermaid-1772803001158_flowchart-v2-pointEnd)\"></path><path d=\"M279.087,490.559L261.406,506.935C243.724,523.31,208.362,556.061,190.681,580.02C173,603.979,173,619.146,173,626.729L173,634.313\" id=\"L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6Mjc5LjA4NjcxODc5MDkyOTQsInkiOjQ5MC41NTkzNzUwNDA5Mjk0fSx7IngiOjE3MywieSI6NTg4LjgxMjV9LHsieCI6MTczLCJ5Ijo2MzguMzEyNX1d\" marker-end=\"url(#mermaid-1772803001158_flowchart-v2-pointEnd)\"></path><path d=\"M376.593,490.559L394.274,506.935C411.955,523.31,447.317,556.061,464.999,594.02C482.68,631.979,482.68,675.146,482.68,696.729L482.68,718.313\" id=\"L_C_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_E_0\" data-points=\"W3sieCI6Mzc2LjU5Mjk2ODcwOTA3MDYsInkiOjQ5MC41NTkzNzUwNDA5Mjk0fSx7IngiOjQ4Mi42Nzk2ODc1LCJ5Ijo1ODguODEyNX0seyJ4Ijo0ODIuNjc5Njg3NSwieSI6NzIyLjMxMjV9XQ==\" marker-end=\"url(#mermaid-1772803001158_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(173, 588.8125)\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(-12.78125, -12)\"><foreignObject width=\"25.5625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Yes</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(482.6796875, 588.8125)\"><g class=\"label\" data-id=\"L_C_E_0\" transform=\"translate(-33.109375, -12)\"><foreignObject width=\"66.21875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>No (rare)</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"flowchart-A-0\" transform=\"translate(327.83984375, 84.5)\"><rect class=\"basic label-container\" style=\"fill:#f0f0f0 !important;stroke:#999 !important\" x=\"-95.53125\" y=\"-39\" width=\"191.0625\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-65.53125, -24)\"><rect></rect><foreignObject width=\"131.0625\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Traveler searches<br>for hotels</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-B-1\" transform=\"translate(327.83984375, 237.5)\"><rect class=\"basic label-container\" style=\"fill:#f0f0f0 !important;stroke:#999 !important\" x=\"-87.7890625\" y=\"-39\" width=\"175.578125\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-57.7890625, -24)\"><rect></rect><foreignObject width=\"115.578125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Traveler selects<br>hotel and room</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-C-3\" transform=\"translate(327.83984375, 445.40625)\"><polygon points=\"93.90625,0 187.8125,-93.90625 93.90625,-187.8125 0,-93.90625\" class=\"label-container\" transform=\"translate(-93.40625, 93.90625)\"></polygon><g class=\"label\" style=\"\" transform=\"translate(-54.90625, -24)\"><rect></rect><foreignObject width=\"109.8125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Hotel confirms<br>reservation?</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-D-5\" transform=\"translate(173, 761.3125)\"><rect class=\"basic label-container\" style=\"fill:#4CAF50 !important\" x=\"-130\" y=\"-123\" width=\"260\" height=\"246\"></rect><g class=\"label\" style=\"color:#fff !important\" transform=\"translate(-100, -108)\"><rect></rect><foreignObject width=\"200\" height=\"216\"><div style=\"color: rgb(255, 255, 255) !important; display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span style=\"color:#fff !important\" class=\"nodeLabel\"><p><b>BOOKING_CREATED</b><br>―――――――――――<br>Hotel confirms the booking.<br>Confirmation number assigned.<br>Prepaid: card is charged.<br>Pay-at-hotel: no charge yet.</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-E-7\" transform=\"translate(482.6796875, 761.3125)\"><rect class=\"basic label-container\" style=\"fill:#9E9E9E !important\" x=\"-129.6796875\" y=\"-39\" width=\"259.359375\" height=\"78\"></rect><g class=\"label\" style=\"color:#fff !important\" transform=\"translate(-99.6796875, -24)\"><rect></rect><foreignObject width=\"199.359375\" height=\"48\"><div style=\"color: rgb(255, 255, 255) !important; display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span style=\"color:#fff !important\" class=\"nodeLabel\"><p>No webhook<br>(booking remains pending)</p></span></div></foreignObject></g></g></g></g></g></g></g></svg></div>"},"children":["flowchart LR\n    subgraph booking[\"Booking phase\"]\n        A[\"Traveler searches<br>for hotels\"] --> B[\"Traveler selects<br>hotel and room\"]\n        B --> C{\"Hotel confirms<br>reservation?\"}\n        C -->|Yes| D[\"<b>BOOKING_CREATED</b><br>―――――――――――<br>Hotel confirms the booking.<br>Confirmation number assigned.<br>Prepaid: card is charged.<br>Pay-at-hotel: no charge yet.\"]\n        C -->|\"No (rare)\"| E[\"No webhook<br>(booking remains pending)\"]\n    end\n\n    style A fill:#f0f0f0,stroke:#999\n    style B fill:#f0f0f0,stroke:#999\n    style D fill:#4CAF50,color:#fff\n    style E fill:#9E9E9E,color:#fff\n"]}]},"headings":[{"value":"Booking and confirmation","id":"booking-and-confirmation","depth":1},{"value":"Hotel booking flow diagram","id":"hotel-booking-flow-diagram","depth":2}],"frontmatter":{"seo":{"title":"Booking and confirmation"}},"lastModified":"2026-03-11T17:17:12.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/webhooks/booking-lifecycle/hotel-booking-lifecycle/hotel-booking-confirmation-lifecycle","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}