API

Sections

Theme switcher

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.

Plain text

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.

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Terms & Conditions
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot