{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-demand/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Retrieve Terms & Conditions for Car rental offers","siteUrl":"https://developers.booking.com","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":"retrieve-terms--conditions-for-car-rental-offers","__idx":0},"children":["Retrieve Terms & Conditions for Car rental offers"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Learn how to use the /cars/terms-and-conditions endpoint to retrieve structured terms and conditions for a specific car rental offer during the booking flow."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["|"]}," ",{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#e0f2fe","color":"#0369a1","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":[" ","Pre-booking"," "]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["|"]}," ",{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#fbbf24","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["3.2 Beta"]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["|"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2-beta/demand-api/cars/terms-and-conditions"},"children":["/cars/terms-and-conditions"]}," endpoint to retrieve the applicable terms and conditions for a specific car rental offer during the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["pre-booking process"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This endpoint returns both:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Key rental information"]}," (such as deposit, mileage, driver requirements)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Hierarchical legal terms and conditions."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"when-to-use-this-endpoint","__idx":1},"children":["When to use this endpoint"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use this endpoint during the booking flow, after a user selects a car but before the order creation."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["It is mandatory to display terms and conditions at this stage."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"use-cases","__idx":2},"children":["Use cases"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Show mandatory terms during checkout or booking preview."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Display key rental conditions (deposit, mileage, insurance, driver rules)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Help travellers understand restrictions before confirming a booking."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Support compliance with rental supplier requirements."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":3},"children":["How it works"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You provide a car offer ID, along with the search token (that includes the booking context)."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API returns:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Structured ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["key information"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Full ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["terms and conditions tree"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Content is returned in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["requested language"]}," (if supported)."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"important-notes","__idx":4},"children":["Important notes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offer"]}," is required and identifies the selected car rental option."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search_token"]}," is required and links the request to the original search session."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]}," is required for pricing context."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["language"]}," is optional (defaults to English if not supported)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The response includes both ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["summary data (key_info)"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["full legal structure (terms)"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request-body","__idx":5},"children":["Request body"]},{"$$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":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"style":{"minWidth":"100px"}},"children":["Field"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✔"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unique identifier of the selected car rental offer."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✔"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Currency in ISO 4217 format (e.g. USD, EUR, GBP)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search_token"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✔"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Token returned by the search endpoint. Links the request to the original search session."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["language"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Language in ISO 639-1 format (e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["en-us"]},"). Used to localise the response if supported. Defaults to English if not specified or unsupported."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example request:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\n{\n  \"offer\": 123456789,\n  \"currency\": \"USD\",\n  \"language\": \"en-us\",\n  \"search_token\": \"eyJkcml2ZXJzQWdlIjozMCwiZHJvcE9mZkRhdGVUaW1lIjo\"\n}\n\n\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-structure","__idx":6},"children":["Response structure"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response includes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request_id"]}," – Unique identifier for the request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}," – A map of order IDs to their terms and conditions."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"key-components","__idx":7},"children":["Key components"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"123456789\",\n  \"data\": {\n    \"765255700\": {\n      \"terms\": [ ... ]\n    },\n    \"invalid_order\": null\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":5,"id":"key-information-key_info","__idx":8},"children":["Key information (key_info)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Summarised rental conditions used for UI display."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Includes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["common"]}," – driver age, insurance, payment methods, rental duration."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deposit"]}," – security deposit requirements and accepted cards."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["damage_excess"]}," – liability and excess coverage."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["driver_and_license"]}," – required documents and conditions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mileage"]}," – mileage policy."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["disclaimers"]}," – supplier-level legal notes."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"terms-object","__idx":9},"children":["Terms object"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Hierarchical legal structure representing the full rental agreement."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Each node includes:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," (chapter, section, clause, sub_clause, clause_option)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["title"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["children"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Leaf nodes (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clause_option"]},") contain the final displayable text in text."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example response:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"01fr9ez700exycb98w90w5r9sh\",\n  \"data\": {\n    \"key_info\": {\n      \"common\": {\n        \"credit_cards_allowed\": true,\n        \"debit_cards_allowed\": true,\n        \"driver_age\": 25,\n        \"insurance_available\": true,\n        \"rental_duration\": 3\n      },\n      \"mileage\": {\n        \"title\": \"Mileage\",\n        \"subtitle\": \"Distance included\",\n        \"content\": \"Unlimited mileage included\"\n      }\n    },\n    \"terms\": [\n      {\n        \"type\": \"chapter\",\n        \"title\": \"Rental agreement\",\n        \"children\": [\n          {\n            \"type\": \"section\",\n            \"title\": \"Driver requirements\",\n            \"children\": [\n              {\n                \"type\": \"clause\",\n                \"title\": \"Age restrictions\",\n                \"children\": [\n                  {\n                    \"type\": \"sub_clause\",\n                    \"children\": [\n                      {\n                        \"type\": \"clause_option\",\n                        \"text\": \"Driver must be <b>at least 25 years of age</b> to rent this vehicle.\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        ]\n      }\n    ]\n  }\n}\n\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"best-practices","__idx":10},"children":["Best practices"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Always show T&Cs during booking"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["This endpoint is part of the mandatory booking flow UX."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[" key_info"]}," for UI-first rendering"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use it for summaries, cards, and checkout screens."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Do not force users to expand full legal tree by default."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["terms"]}," for legal completeness"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Preserve full hierarchy."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Do not flatten unless required by UI constraints."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Respect structure"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Only clause_option.text contains final legal text."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Other nodes are structural and must be preserved."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Handle HTML safely"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," may include basic HTML (for example ",{"$$mdtype":"Tag","name":"b","attributes":{},"children":[]}," tags)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ensure safe rendering or sanitisation where required."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"integration-tips","__idx":11},"children":["Integration tips"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treat ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["key_info"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["terms"]}," as two complementary layers"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Prefer a progressive disclosure UI pattern:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Summary first (key_info)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Full legal details on demand (terms)."]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":12},"children":["Next steps"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Curious to know more?"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["See the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/cars/3.2/cars-tutorial"},"children":["Car tutorial"]}," for a complete booking flow."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/cars/overview"},"children":["Cars section"]}," for details."]}]}]}]},"headings":[{"value":"Retrieve Terms & Conditions for Car rental offers","id":"retrieve-terms--conditions-for-car-rental-offers","depth":1},{"value":"When to use this endpoint","id":"when-to-use-this-endpoint","depth":2},{"value":"Use cases","id":"use-cases","depth":2},{"value":"How it works","id":"how-it-works","depth":2},{"value":"Important notes","id":"important-notes","depth":3},{"value":"Request body","id":"request-body","depth":3},{"value":"Response structure","id":"response-structure","depth":3},{"value":"Key components","id":"key-components","depth":4},{"value":"Key information (key_info)","id":"key-information-key_info","depth":5},{"value":"Terms object","id":"terms-object","depth":4},{"value":"Best practices","id":"best-practices","depth":2},{"value":"Integration tips","id":"integration-tips","depth":3},{"value":"Next steps","id":"next-steps","depth":2}],"frontmatter":{"title":"Retrieve car rental offer terms and conditions","description":"Learn how to retrieve structured terms and conditions for a specific car rental offer during the pre-booking flow using the /cars/terms-and-conditions endpoint. Includes key rental information and hierarchical legal content for mandatory display before booking.","tags":["cars","car rentals","booking flow","terms and conditions","legal content","demand api"],"api":["/cars/terms-and-conditions"],"keywords":["car rental terms and conditions","car rental booking terms","rental agreement API","pre-booking terms","car rental legal content","demand API cars","retrieve rental conditions","structured terms API","booking flow compliance"],"x-redocly":{"seo":{"title":"Car Rental Terms & Conditions (Booking) – Demand API v3.2","description":"Step-by-step guide to retrieve structured terms and conditions for car rental offers during the pre-booking flow using the /cars/terms-and-conditions endpoint in Demand API v3.2. Learn how to display key rental information, render hierarchical legal content, and meet mandatory pre-booking requirements."},"audience":["developer","partner","integrator"],"apiVersion":"v3.2 Beta","product":["cars"]},"seo":{"title":"Retrieve Terms & Conditions for Car rental offers"}},"lastModified":"2026-05-05T11:16:52.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/demand/docs/cars/3.2/pre-booking-terms-and-cond","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}