Home Booking How to hold and pay for a flight booking through the API

How to hold and pay for a flight booking through the API

Last updated on Nov 16, 2026

When you book a flight through the API, the payment profile of the legal entity on the order determines how company payment and ticketing proceed. Its balance is used for balance payment, and invoices are issued to it. You can also request a hold to reserve the flight without payment or ticketing.

How to create a flight booking

  1. Before booking, make sure the paying account has card payment activated or a signed company contract. For an employee, the company owner's settings apply; for an independent user, their own settings apply. If neither condition is met, contact your manager to activate card payment or arrange a signed contract.
  2. Submit your flight booking to POST /v1/orders.
  3. Omit paymentMethodId to let the company payment profile choose the method, or specify balance, invoice, card or crypto. For a business trip, a requested method must be available under the payment profile of the legal entity on the order.
  4. To hold the flight without payment or ticketing, include hold: true. The default is false. The paying account must still meet the booking requirements in step 1.
  5. Check the response's booking block to see what happens next.

Good to know

booking.status What it means What to do
ticketing The flight has been sent for ticketing after balance payment, acceptance of invoice payment, or because nothing remains to pay. Check the order for the issued ticket. This status does not mean the ticket has already been issued.
awaiting_payment The booking is held as a pre-booking and awaits payment. Initiate payment with POST to the returned payUrl. An eligible card authorization allows ticketing to proceed before the card is charged.
held The flight is held because you requested a hold, the carrier requires actions, the airline assigned a seat, or settlement failed. Open the order to review the next steps before the time limit.
failed The supplier refused the booking. Do not treat the response as a confirmed flight booking.
  • Creating an order through the API and adding a flight to an existing order with POST /v1/orders/{id}/bookings require the paying account to have card payment activated or a signed company contract. Without either, booking is refused with error 146 (PAYMENT_NOT_ACTIVATED): "Booking is unavailable: activate card payment or sign the contract. Please contact your manager."
  • Balance payment requires sufficient funds. Invoice payment requires a signed contract, invoice payment enabled in the company profile and an amount remaining to pay that does not exceed the legal entity's remaining invoice credit. The invoice due date follows the profile's invoice terms.
  • If an invoice credit limit is set, it is shared across the legal entity's unpaid issued orders, regardless of payment method, and unpaid orders booked by invoice that await issue. Available credit is the limit minus their unpaid balances, with a minimum of zero. Orders without a legal entity do not use the limit.
  • Paying an order restores available credit by the amount paid; a partial payment restores that part. The company balance is separate and does not increase invoice credit. If no limit is set, this rule does not cap invoice payment.
  • Debts in other currencies are converted into the limit currency, and available credit is converted into the order currency using current exchange rates.
  • An amount equal to the remaining credit is allowed. An amount above it makes invoice payment unavailable; other permitted methods remain available.
  • When an already placed order is checked for invoice payment, its own debt is excluded from used credit so it is not counted twice. Other orders still use the limit.
  • Eligible card payments authorize a hold first, allowing ticketing before the money is charged. The card is charged after the ticket is issued. While the hold is pending, the order can show paid 0 and another online payment for the same order is blocked. Some card payment routes still charge immediately. Crypto payments continue to wait for payment confirmation before ticketing.
  • A flight hold requested with hold: true reserves the flight without payment or ticketing. A card hold reserves money during payment; these are different operations. See Managing booking time limits and confirmations for card hold deadlines, supplier refusals and cancellation rules.
  • Personal trips use your own money rather than the company balance or invoice credit. To request crypto for a personal trip, specify paymentMethodId: "crypto". Crypto is selected only if the booking source offers crypto payment; otherwise, the method is card. Omitting the method or requesting a company method also results in card payment for a personal trip.
  • Unpaid pre-bookings are cancelled automatically at their time limit. Held API bookings use the same reminder emails and time-limit automation as website pre-bookings. A card hold does not extend the flight pre-booking's time limit.
  • The booking block includes paymentMethod and reason. A payUrl is included when the status is awaiting_payment; it is an API endpoint such as /v1/orders/15231/pay.
  • Repeating the create request with the same Idempotency-Key returns the same booking block for an already created order without repeating the payment-activation check.
  • If points cover part of a booking that would otherwise use the balance, the balance is not debited automatically. The booking awaits payment with reason incentifi_coins.

FAQ

Does creating a flight booking through the API issue the ticket immediately? It depends on the payment profile of the legal entity on the order. A flight is sent for ticketing after balance payment or acceptance of invoice payment, or when nothing remains to pay. Card bookings first need payment processing, which can authorize a hold before ticketing and charge after issue; crypto bookings need payment confirmation, and an explicit flight hold postpones payment and ticketing.

How do I reserve a flight without paying or issuing a ticket? Include hold: true in your flight request to POST /v1/orders; the paying account must have card payment activated or a signed company contract even for a hold. The flight is held as a pre-booking. Complete the required steps and issue it from the order page or pay before its time limit.

Why does my API flight booking say awaiting_payment? The booking needs payment processing before ticketing. This can happen for card or crypto payment, a personal trip, or when no payment method is available; the paying account must still have card payment activated or a signed company contract to create the booking. Check booking.reason and initiate payment with POST to the returned booking.payUrl before the pre-booking expires; an eligible card hold can then allow ticketing before the charge.

Will paying again charge an order that was already paid at creation? Calling POST /v1/orders/{id}/pay for an order already paid at creation returns ORDER_NOT_PAYABLE. It does not charge the order again. A pending card hold also blocks a second online payment for the same order until the hold is charged or released.

Can I pay for a personal flight booking through the API with crypto? Specify paymentMethodId: "crypto" when creating the personal flight booking through the API. Crypto is selected if the booking source offers crypto payment. Otherwise, the booking uses card payment. The company balance and invoice credit are not used for a personal trip.

Why is invoice payment unavailable even though this booking is below our credit limit? The invoice limit covers the legal entity's unpaid issued orders and unpaid orders booked by invoice that await issue together. Your amount remaining to pay must fit within the credit left after those debts. Paying outstanding orders restores credit by the amount paid; when paying an already placed order, its own debt is excluded from used credit for that check.


Still have questions? Message us in the support chat or at support@travel-code.com.