Terms & Conditions
It is a mandatory requirement to present the specific terms and conditions (T&Cs) from carriers to users during the booking flow. This ensures transparency and that the user agrees to the carrier's rules before purchase. While most carriers provide a single link for their T&Cs, some may provide multiple links. In such cases, it is required that all links are displayed to the user in your UI.
Retrieving Terms & Conditions
You can retrieve the terms and conditions data by making a call to the /marketing_carriers/{marketing_carrier_id} endpoint using the specific carrier's ID.
...
"terms": "Conditions of Carriage:\r\nhttps://www.sncf-voyageurs.com/en/travel-with-us/in-france/mainline-cards-and-fares/legal-notices/\r\n\r\nRail Passenger Rights Regulation\r\nhttps://www.sncf-voyageurs.com/en/customer-service/delays/",
...The data will be available in the response body within the terms field of the attributes object. This field is a single string that may contain one or multiple URLs, each potentially preceded by a title and separated by newline characters \r\n.
Display and Implementation
Your application must be able to parse the terms string and correctly display both single and multiple links. A recommended way to present this information is within a pop-up modal on the checkout page, displayed to the user before they finalize their payment. This ensures the customer has a clear opportunity to review all applicable conditions.
On this page
- Terms & Conditions