Errors and Exceptions

Exception scenarios

#ScenarioWhat happensWhat to do
1Airline Acquiring not enabled on the outletOrder is created (201), but airlineDetails is dropped and missing from the response. No error is returnedCheck the response for airlineDetails. Ask Network International to enable Airline Acquiring
2airlineDetails sent on a recurring / subscription order400, errorCode: airlineRecurringNotSupportedUse a single (one-time) order
3A field breaks its rule (length, format, regex)400, errorCode: invalidFieldValue with the field nameFix the field (see Field reference)
4Invalid enum value or wrong case (e.g. passenger_ticket)400Use the exact upper-case value (Field reference)
5Invalid date, e.g. 2026-02-30, or time without a zone, e.g. 09:30400, invalidFieldValueDates yyyy-MM-dd, times HH:mm[:ss] plus Z or ±hh:mm
6Misspelled field name, e.g. electronicTicket instead of eTicketNo error. The field is ignoredCheck field names against Field reference
7Capture airline block missing multiClrSeqNum, multiClrCntNum or multiClrInd400, errorCode: mandatoryFieldSend all three
8Capture optional field sent as ""400, invalidFieldValueLeave the field out instead
9airline block sent on a full captureCapture succeeds. The airline block is ignoredOnly use it on partial captures
10airline block sent on a capture when Airline Acquiring is not enabledCapture succeeds. The airline block is ignoredEnable Airline Acquiring
11Capture on a PURCHASE orderRejected. The payment is already capturedUse AUTH for multi-clearing
12Capture amount above the amount still authorised400Capture at most the remaining authorised amount
13Customer pays with an alternative payment methodNot possible. Only cards are offered when airlineDetails is presentn/a
14Access token expired401 UnauthorizedRequest a new token (Get an access token)
15More than 13 passengers, more than 9 legs, or an empty taxOrFees array400, invalidFieldValueSee the array limits in Field reference
16Network timeout on capture or refundResult unknownCall Get order to check the payment state before retrying, to avoid a duplicate capture or refund

Error responses

Errors use this shape:

{
  "message": "Bad Request",
  "code": 400,
  "errors": [
    {
      "message": "bookingReferenceNumber must be between 6 and 15 characters",
      "localizedMessage": "bookingReferenceNumber must be between 6 and 15 characters",
      "errorCode": "invalidFieldValue",
      "domain": "processing",
      "location": "airlineDetails.bookingReferenceNumber"
    }
  ]
}
errorCodeMeaning
invalidFieldValueA field doesn't meet its length, format or allowed values
mandatoryFieldA mandatory capture field (multiClrSeqNum, multiClrCntNum, multiClrInd) is missing or blank
airlineRecurringNotSupportedairlineDetails sent on a recurring or subscription order
© Network International LLC. All Rights Reserved.