---
title: "Stop a booking"
method: POST
path: "/flights/bookings/{booking_id}/stop"
tags: ["flights"]
---

# Stop a booking

`POST /flights/bookings/{booking_id}/stop`

## Request

- Base URL: `https://letsfg.co/developers/api/v1`
- URL: `https://letsfg.co/developers/api/v1/flights/bookings/{booking_id}/stop`
- Auth: API key in header `X-API-Key`

What a stop can still do depends on how far the booking has got. `status` is stopped (it had not started: nothing bought, hold released), stopping (the agent stops at its next step, usually within a minute, and the booking ends failed with the hold released unless it had already pressed pay), too_late (the seller has been paid), with_a_person (a person is finishing it by hand; the stop is recorded for them) or already_ended. Keep polling for the final state.

## Path parameters

- `booking_id` string, required

## Response `200`

{booking_id, status, state, message}.

## Other responses

- `404`: No such booking on this account.

---

[API](https://skmtc.dev/letsfg/apis/letsfg-public-developer-api.md) · [All operations](https://skmtc.dev/letsfg/apis/letsfg-public-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/letsfg/apis/letsfg-public-developer-api/revisions/516ab6ba1d2e?raw)
