Duffel API Documentation

website·Indexed 34 days ago

https://duffel.com/

A travel API for searching and booking flights, accommodations, and rental cars. Features include flight offer requests, seat map selection, hotel chain and loyalty program integration, and PCI-compliant payment processing via Cards and ThreeDSecureSession.

Tokens
181.1K
Snippets
463
Records
1.4K
Agent score
65%

What's inside Duffel

  1. Overview of Customer User Groups

    v2
    Customer user groups allow you to segment travel for a single user into silos (e.g., different businesses). This enables access control based on the specific business entity the user is interacting with when using the product.
  2. Overview of travel payment entities and responsibilities

    Travel payments involve four primary actors:

    • Traveller: The end-user purchasing the service. Responsible for selecting services and providing payment details.
    • Customer (You): The entity enabling the booking. Responsible for collecting payment details and ensuring industry-standard practices (e.g., 3DSecure).
    • Duffel: The intermediary. Responsible for the secure and compliant handling of payment data and relaying it to the supplier or paying on the customer's behalf.
    • Travel Supplier: The airline or hotel. Responsible for processing the final payment.
  3. Overview of Duffel's embedded travel API suite

    Duffel provides a single API platform to integrate multiple travel verticals into a business application:

    • Duffel Flights: Access to 500+ airlines (e.g., American Airlines, British Airways, Lufthansa, Emirates, Ryanair, United).
    • Duffel Stays: Access to 1.6 million properties worldwide.
    • Duffel Cars: Access to 40+ global car rental providers across 40,000+ locations.
  4. Overview of Payment Intents

    A Payment Intent is used to collect and capture a payment from a customer to top up your Duffel balance, which can then be used to pay for offers, orders, or order change offers. This process allows you to include a markup on the payment.

    Note: Duffel is currently not accepting new customers for this product. If you have test mode access, verify with your Duffel contact that you are eligible for live mode before integrating.

  5. Overview of Duffel's flight selling platform

    Duffel provides a self-serve platform and API suite that allows developers and businesses to sell flights without the need for individual country accreditations, upfront setup fees, or lengthy contract negotiations. The platform provides instant access to global airline content and a comprehensive developer environment for building travel businesses.
  6. Overview of Duffel Flight Selling Platform

    Duffel provides a self-serve platform and set of APIs that allow developers and businesses to sell flights without needing to become a registered travel agent in every country of operation. The platform removes upfront costs and setup fees, providing instant access to global airline content upon sign-up.
  7. Overview of Duffel Flights API capabilities

    The Duffel Flights API provides a single integration to access flight content from over 300 airlines across major distribution channels, including NDC, GDS, and LCC. Key capabilities include searching for flights, booking with custom markups, selling ancillaries (such as additional bags and preferred seating), and managing booking changes or cancellations.
  8. Overview of Batch Offer Requests

    v2

    Batch offer requests are long-polling resources used to retrieve flight offers as they become available. This prevents the client from having to wait for the entire offer payload to finish processing.

    Key constraints:

    • Batch requests expire after one minute and must be consumed promptly.
    • After expiration, offers can still be retrieved using the specific offer request ID via the standard offer request endpoint.
    • The process involves creating a batch request and then repeatedly calling the retrieval endpoint until remaining_batches reaches 0.
  9. Overview of Duffel Travel APIs

    Duffel provides a software platform and a suite of APIs designed to democratize the travel industry, allowing developers and businesses to become travel sellers without needing to manage archaic software, regulatory licensing, or complex supplier chains.
  10. Overview of Duffel Travel API capabilities

    Duffel provides a suite of APIs and tools for businesses to sell travel. Key capabilities include shopping for, booking, and managing flights and hotel stays, as well as handling travel extras (ancillaries). The platform supports features such as loyalty program perks, seat and bag selection, and global hotel inventory with commission earning.