post
https://api.liteapi.travel/v3.0/flights/bookings//extra-charges/charges
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
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

