chargeFlightExtraCharges
Overview
Confirms a pending extra-charge batch created by /extra-charges/precharges. Captures the Stripe PaymentIntent or bills the credit line, 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.messageand the persisted extras (no re-capture / no duplicate credit-line billing)Concurrent confirm — HTTP 409 /
45035while another confirm for the samechargesIdholds the Redis lock; retry after the first completes
When to Use
After the customer confirmed the Stripe PaymentIntent (status
requires_capture/succeeded), or immediately forCREDITbookings
Constraints
Body only needs
chargesId+payment(charge lines are encoded inchargesId)payment.methodmust match the booking's original payment (TRANSACTION_IDorCREDIT)For Stripe,
payment.transactionIdmust be the id returned by precharges
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | Yes | Payment details for capturing the extra charge. method must match the booking original payment. | |
| bookingId | Yes | Flight booking identifier | |
| chargesId | Yes | Opaque token from precharges |