Confirm extra charges on a booking

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.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 booking's original payment (TRANSACTION_ID or CREDIT)
  • For Stripe, payment.transactionId must be the id returned by precharges
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Flight booking identifier

Body Params

Request body for confirming a pending extra-charge batch created by precharges

string
required

Opaque token from precharges

payment
object
required

Payment details for capturing the extra charge. method must match the booking original payment.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json