flights
Stop a booking
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.
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
Path parameters
booking_idstring required
Response
{booking_id, status, state, message}.
Changes
No recorded changes to this operation across all 1 revision of this API.