Bookings
Book a flight offer
Changed onBook one offer from one of your own searches, on the Revolut method connected to this key.
The method is held, not charged, for the fare plus the payment markup. A LetsFG booking agent then buys the ticket from the seller and the hold is captured only against a real airline PNR. If the booking fails the hold is released and nothing is taken.
Answers 202 within seconds with a booking_id; the booking itself takes 4–11 minutes. Poll GET /flights/bookings/{booking_id} until terminal is true. A completed booking also resets your free-search allowance.
Retrying with the same idempotency_key returns the existing booking rather than opening a second hold. Nothing is charged on any refusal.
post/api/v1/flights/book
Request
- Base URL: https://letsfg.co/developers/api/v1
- URL: https://letsfg.co/developers/api/v1/api/v1/flights/book
- Auth: API key in header X-API-Key
Request body
Example request
{
"passengers": [
{
"phone_number": "+48501234567"
}
]
}Response
Hold placed and the booking agent dispatched
Example response
{
"state": "authorised"
}Changes
- info
endpoint added
- info