FILTER BY TAG

Capture an Airline Payment

This section describes how to capture an airline payment for ticket purchases.
Before you can capture payment, you must authorize the funds by sending an authorization request. The authorization response includes a request ID in the
requestID
field. The request ID is required in the capture request. For more information about how to send an authorization request, see the Standard Payment Processing section in the
Payments Developer Guide
.
Capture requests for ticket purchases must be separate from ancillary purchases. When you include ancillary data in a request with airline data,
OmniPay Direct
ignores the ancillary data. For more information about captures for ancillary purchases, see Capture an Ancillary Purchase.

Leg Limitations

OmniPay Direct
limits the maximum number of legs for each trip based on card type.
You must include information for the first leg of the trip (leg 0), and you must use consecutive numbers for any additional legs. To do so, replace the
#
character in the field name with a sequential number starting with
0
. For example, for a trip with two legs, set the
airlineData_leg_#
field as
airlineData_leg_0
and
airlineData_leg_1
, for the first and second legs, respectively. If you skip a number,
Cybersource
ignores the legs that follow the skipped number.
This table describes the maximum number of legs for each trip based on card type.
OmniPay Direct
Leg Limitations
Supported Card Types
Maxiumum Number of Travel Legs
Diners Club
999
Discover
999
Maestro (International)
999
Maestro (UK Domestic)
999
Mastercard
999
Visa
4

Document Type

When capturing an airline payment, you must use the
airlineData_documentType
field to specify the purpose of the transaction. For all possible values, see Airline Document Type Codes.

Endpoint

Set the
ccCaptureService_run
field to
true
.
Send the request to
https://ics2ws.ic3.com/commerce/1.x/transactionProcessor
.

Required Fields for an Airline Ticket Capture

Include these required fields to capture an airline payment.
Set the value to
airline
.
Set the value to the
merchant_ref_number
value used in corresponding authorization request.
Vero
supports Brazilian real (BRL) currency only.

Card-Specific Fields for an Airline Ticket Capture

Use this information to find additional information a card type requires.

Visa

Use this field in addition to the required fields when capturing an authorization with a Visa card.

Reduced Interchange Fields for an Airline Ticket Capture

This section includes card-specific fields for reduced interchange.

Maestro (International)

For reduced interchange, use these fields when capturing an airline payment with a Maestro (International) card.

Maestro (UK Domestic)

For reduced interchange, use these fields when capturing an airline payment with a Maestro (UK Domestic) card.

Visa

For reduced interchange, use these fields when capturing an airline payment with a Visa card.

Optional Fields for an Airline Ticket Capture

This topic includes both general optional fields and card-specific optional fields.

Diners Club

Choose from these optional fields to add additional information when using a Diners Club card.

Discover

Choose from these optional fields to add additional information when using a Discover card.

Maestro (International)

Choose from these optional fields to add additional information when using a Maestro (International) card.
Optional only for US domestic airline transactions.

Maestro (UK Domestic)

Choose from these optional fields to add additional information when using a Maestro (UK Domestic) card.
Optional only for US domestic airline transactions.

Mastercard

Choose from these optional fields to add additional information when using a Mastercard card.
Optional only for US domestic airline transactions.

Visa

Choose from these optional fields to add additional information when using a Visa card.
For ancillary fields, see Airline Ancillary Fields.

Simple Order Example: Airline Ticket Capture

Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.124">    <merchantID>World Wide Travel</merchantID>    <merchantReferenceCode>R98TV09EN200W</merchantReferenceCode>    <ccCaptureService run="true">       <industryDatatype>airline</industryDatatype>       <authRequestID>0839543530000172034078</authRequestID>    </ccCaptureService>    <purchaseTotals>       <currency>EUR</currency>       <grandTotalAmount>204.78</grandTotalAmount>    </purchaseTotals>    <airlineData>       <agentCode>98222147</agentCode>       <agentName>Cyber Vacations</agentName>       <passengerName>Jane Smith</passengerName>       <restrictedTicketIndicator>0</restrictedTicketIndicator>       <ticketNumber>02721187251</ticketNumber>       <leg id="0">          <class>H</class>
         <departureDate>121516</departureDate>
         <departureTime>0931</departureTime>
         <departureTimeSegment>A</departureTimeSegment>
         <carrierCode>AA</carrierCode>
         <destination>CDG</destination>
         <fareBasis>HL7WNR</fareBasis>
      </leg>       <leg id="1">          <class>H</class>
         <departureDate>122016</departureDate>
         <departureTime>1625</departureTime>
         <departureTimeSegment>P</departureTimeSegment>
         <carrierCode>AA</carrierCode>
         <destination>LHR</destination>
         <fareBasis>HL7WNR</fareBasis>
      </leg>    </airlineData> </requestMessage>
Response
<replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.124">    <requestID>0305782650000167905080</requestID>    <decision>ACCEPT</decision>    <reasonCode>100</reasonCode>    <merchantReferenceCode>R98TV09EN200W</merchantReferenceCode>    <purchaseTotals><currency>EUR</currency></purchaseTotals>    <ccCaptureReply>       <reasonCode>100</reasonCode>       <amount>204.78</amount>       <reconciliationID>1094820975023470</reconciliationID>       <enhancedDataEnabled>y</enhancedDataEnabled>    </ccCaptureReply> </replyMessage>