Precharge extra charges on a booking

Overview

Creates a pending post-booking extra-charge batch for an existing flight booking and returns an opaque chargesId. For Stripe-paid bookings, also creates a PaymentIntent (transactionId + secretKey) when usePaymentSdk is true.

Access

Requires Flights API access. Post-booking extra charges are not enabled by default — contact the LiteAPI support team to request access.

When to Use

  • Attach fees after confirmation (seat change, baggage, admin adjustment)
  • Obtain a Stripe client secret so the customer can confirm payment before POST .../extra-charges/charges

What You Get

  • chargesId — Opaque token required by /extra-charges/charges (do not re-send charge lines)
  • paymentTypes — Locked to the booking's original payment (TRANSACTION_ID or CREDIT)
  • transactionId / secretKey — Present for Stripe bookings when usePaymentSdk is true
  • Existing extras totals plus pending batch totals

Constraints

  • Booking status must be CONFIRMED or PENDING_CONFIRMATION
  • All lines in one request must share the same currency
  • Payment method on /charges must match the original booking payment
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 preparing a pending post-booking extra-charge batch

charges
array of objects
required
length ≥ 1

Charge lines to attach. All lines must use the booking sellingCurrency.

charges*
boolean

Required true for Stripe bookings so a PaymentIntent is created. Ignored for CREDIT bookings.

Responses

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