> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Hold Flight Order

> Hold the selected order without immediate payment; unpaid orders expose payment_required_by.



## OpenAPI

````yaml openapi/duffel.json POST /duffel/flights/orders/hold-create
openapi: 3.0.3
info:
  title: Duffel Flights API
  version: v2
  description: >-
    Flight search, booking, changes, and cancellations through the Duffel
    network. Search by route and passengers, refresh offers before ordering,
    then book with a balance payment. Currently operates in sandbox mode (Duffel
    Airways test data).
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /duffel/flights/orders/hold-create:
    post:
      summary: Create Hold Flight Order
      description: >-
        Hold the selected order without immediate payment. Same body as Create
        Flight Order plus "type": "hold" in data. Unpaid orders expose
        payment_required_by and intended_payment_methods.
      operationId: post_duffel_orders_hold_create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - hold
                    selected_offers:
                      type: array
                      items:
                        type: string
                      maxItems: 1
                    passengers:
                      type: array
                      items:
                        $ref: '#/components/schemas/BookingPassenger'
      responses:
        '201':
          description: Held order awaiting payment
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Order'
components:
  schemas:
    BookingPassenger:
      type: object
      required:
        - id
        - title
        - gender
        - given_name
        - family_name
        - born_on
        - email
        - phone_number
      properties:
        id:
          type: string
          description: Passenger id from the offer request response
        title:
          type: string
          enum:
            - mr
            - ms
            - mrs
            - dr
        gender:
          type: string
          enum:
            - m
            - f
            - x
        given_name:
          type: string
        family_name:
          type: string
        born_on:
          type: string
          format: date
        email:
          type: string
          format: email
          description: Must be the passenger's own email
        phone_number:
          type: string
        infant_passenger_id:
          type: string
          description: >-
            Infant passenger id this adult is responsible for; one infant per
            adult
    Order:
      type: object
      properties:
        id:
          type: string
          example: ord_0000BAzrYIJiDdmFJKIhcy
        booking_reference:
          type: string
          example: DJMT4D
        total_amount:
          type: string
        total_currency:
          type: string
        live_mode:
          type: boolean
        documents:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              type:
                type: string
                enum:
                  - electronic_ticket
              unique_id:
                type: string
        available_actions:
          type: array
          items:
            type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.