REST API | Visa Platform Connect

Airline Travel Legs

Some processors require travel legs in the API service request. This section describes how to successfully include travel legs in an API request.

Using Travel Legs

To include travel legs in an airline transaction, include one or more travel legs in the
legs[]
array.
For example, these three travel legs are valid:
"travelInformation": { "transit": { "airline": { "legs": [ { "carrierCode": "XX" }, { "carrierCode": "XZ" }, { "carrierCode": "XX" } ] }
IMPORTANT
If you skip a number,
Cybersource
ignores the legs that follow the skipped number.

Travel Leg Limitations

Some processors limit the number of travel legs for each trip based on the card type.