Flight Bookings
Confirm extra charges on a booking
Overview
Confirms a pending extra-charge batch created by /extra-charges/precharges. Captures the Stripe PaymentIntent, bills the credit line, or (MANUAL) records the lines as awaiting_payment, then appends the lines to the booking.
Access
Requires Flights API access. Post-booking extra charges are not enabled by default — contact the LiteAPI support team to request access.
Idempotency
Idempotent on chargesId, mirroring POST /flights/bookings prebookId replay:
- Already confirmed — HTTP 200 with data.message and the persisted extras (no re-capture / no duplicate credit-line billing)
- Concurrent confirm — HTTP 409 / 45035 while another confirm for the same chargesId holds the Redis lock; retry after the first completes
When to Use
- After the customer confirmed the Stripe PaymentIntent (status requires_capture / succeeded), or immediately for CREDIT bookings
Constraints
- Body only needs chargesId + payment (charge lines are encoded in chargesId)
- payment.method must match the method chosen at precharges (TRANSACTION_ID, CREDIT or MANUAL); ids minted before methods were recorded must use the booking's original payment
- For Stripe, payment.transactionId must be the id returned by precharges
post/flights/bookings/{bookingId}/extra-charges/charges
Request
- Base URLhttps://api.liteapi.travel/v3.0
- URLhttps://api.liteapi.travel/v3.0/flights/bookings/{bookingId}/extra-charges/charges
- AuthAPI key in header X-API-Key
Path parameters
bookingIdstring uuid required
Flight booking identifier
Request body
Example request
{
"chargesId": "g6x...",
"payment": {
"transactionId": "tr_ct_abc"
}
}Response
Extra charges confirmed and persisted
Example response
{
"data": {
"bookingId": "1297abe4-57c5-4605-b8e7-5caad983c4a7",
"sellingPrice": 412.5,
"sellingCurrency": "USD",
"extraChargesTotal": 45,
"extraChargesCurrency": "USD",
"extraChargesDetails": [
{
"description": "Seat change fee",
"currency": "USD",
"amount": 45,
"paymentMethod": "TRANSACTION_ID",
"status": "paid",
"paymentReference": "CMI-2026-000123"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.