---
title: "Create a flight booking with passenger details"
method: POST
path: "/flights/create-booking"
---

# Create a flight booking with passenger details

`POST /flights/create-booking`

## Request

- Base URL: `https://www.fareeagle.com/api/v1`
- URL: `https://www.fareeagle.com/api/v1/flights/create-booking`
- Auth: none declared

Takes the booking_session from prepare-booking plus passenger details and contact info. Returns a payment URL for the user to complete payment on fareeagle.com.

## Request body

- object
  - `booking_session` string, required: Session token from prepare-booking
  - `passengers` object[], required
    - `title` 'Mr' | 'Mrs' | 'Ms' | 'Mstr' | 'Miss'
    - `first_name` string, required
    - `last_name` string, required
    - `date_of_birth` string, required: YYYY-MM-DD
    - `gender` 'M' | 'F'
    - `passport_number` string
    - `passport_expiry` string
    - `nationality` string: 2-letter country code, default IN
  - `contact` object, required
    - `email` string, required
    - `phone` string, required

## Response `200`

Booking created, payment pending

- object
  - `booking_reference` string
  - `status` string
  - `total_amount` object
    - `amount` number
    - `formatted` string
  - `payment_url` string
  - `payment_expires_in` integer

---

[API](https://skmtc.dev/fareeagle/apis/fareeagle-travel-api.md) · [All operations](https://skmtc.dev/fareeagle/apis/fareeagle-travel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fareeagle/apis/fareeagle-travel-api/revisions/b1611755038e?raw)
