Airline Processing {#airline-about-guide}
=========================================

This section describes how to use this developer guide and where to find further information.

Audience and Purpose
--------------------

This guide is written for application developers who want to use the `Cybersource` `Simple Order API` to integrate credit card processing with airline data into their order management system.  
Implementing the `Cybersource` credit card services requires software development skills. You must write code that uses the API request and reply fields to integrate the credit card services into your existing order management system.

Conventions
-----------

The following special statements are used in this document:

> An *Important* statement contains information essential to successfully completing a task or learning a concept.

Customer Support
----------------

For support information about any service, visit the Support Center:  
<http://support.visaacceptance.com>

Recent Revisions to This Document {#airline-doc-revisions}
==========================================================

24.02
-----

This revision contains only editorial changes and no technical updates.

24.01
-----

This revision contains only editorial changes and no technical updates.

23.02
-----

This revision contains only editorial changes and no technical updates.

23.01
-----

This revision contains only editorial changes and no technical updates.

19.02
-----

This revision contains only editorial changes and no technical updates.

19.01
-----

This revision contains only editorial changes and no technical updates.

18.04
-----

This revision contains only editorial changes and no technical updates.

18.03
-----

This revision contains only editorial changes and no technical updates.

Introduction to Airline Processing {#airline-intro}
===================================================

Airline data processing exceeds basic payment processing by enabling you to process specific travel data. To make use of this capability, you must submit additional information, such as:

* Carrier (airline)
* Departure date
* Destination airport
* Purchase date
* Originating airport
* Ticket class
* Travel legs (segments)
  {#airline-intro_ul_x5d_bnt_nwb}

`Cybersource` Airline Data Processing {#airline-intro-processing}
=================================================================

`Cybersource` does not store airline data. Instead, it functions as a pass-through service for the data. `Cybersource` enforces only the minimal level of field validation.  
When you request an airline service, `Cybersource` responds with certain fields and values to indicate whether the airline data was processed. The response fields for each service are:

* Authorization: ccAuthReply_enhancedDataEnabled
* Capture: ccCaptureReply_enhancedDataEnabled
* Credit: ccCreditReply_enhancedDataEnabled

The possible values for the response fields are:

* `N`: the airline data was not included in the request to the processor.
* `Y`: the airline data was included in the request to the processor.

` Cybersource ` temporarily disables your account's airline data processing capability and contacts you if your airline data transactions produce batching errors when the information is sent to the processor. If this happens, your request is not rejected, but you receive one of the above listed fields with the ` N ` value in the response indicating that airline data in the request has been ignored and not sent to the processor.

Airline Travel Legs {#airline-intro-legs}
=========================================

Some processors require travel legs in the API service request, even for direct flights. 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 airlineData_leg_#_ fields, starting with the airlineData_leg_0_ fields.  
Direct flights only use the airlineData_leg_0_ fields.  
For multiple leg trips, the airlineData_leg_#_ fields must start at 0, and you must use consecutive numbers for the additional legs.
If you skip a number, ` Cybersource ` ignores the legs that follow the skipped number.  
For example, these three travel legs are valid:

```
&lt;leg id="0"&gt;
    &lt;carrierCode&gt;XX&lt;/carrierCode&gt;
&lt;/leg&gt;
&lt;leg id="1"&gt;
    &lt;carrierCode&gt;XZ&lt;/carrierCode&gt;
&lt;/leg&gt;
&lt;leg id="2"&gt;
    &lt;carrierCode&gt;XX&lt;/carrier&lt;code&gt;
&lt;/leg&gt;
```

Travel Leg Limitations
----------------------

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

`TSYS Acquiring Solutions` Airline Processing {#airline-vital-intro}
====================================================================

This section describes the airline payment services you can use when processing with `TSYS Acquiring Solutions`.

> ` Cybersource ` sends airline data for Mastercard and Discover to ` TSYS Acquiring Solutions `, but ` TSYS Acquiring Solutions ` removes the airline data for these card types when sending the settlement information. Only American Express and Visa transactions qualify for the airline interchange rate.

Supported Card Types
--------------------

This table describes the card types that `TSYS Acquiring Solutions` supports.

| Supported Card Types |
|----------------------|
| American Express     |
| Visa                 |
[`TSYS Acquiring Solutions` Supported Card Types]

Authorizations {#airline-vital-auth-intro}
==========================================

This sections describes how to process a successful `TSYS Acquiring Solutions` authorization.

Endpoint {#airline-vital-auth-intro_d7e16}
------------------------------------------

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

Required Fields for an Airline Authorization {#airline-vital-auth-req-fields}
=============================================================================

Include these required fields for processing an airline authorization.

[billTo_city](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-city.md "")
:

[billTo_country](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-country.md "")
:

[billTo_email](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-email.md "")
:

[billTo_firstName](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-first-name.md "")
:

[billTo_lastName](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-last-name.md "")
:

[billTo_postalCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-postal-code.md "")
:

[billTo_state](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-state.md "")
:

[billTo_street1](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-street1.md "")
:

[card_accountNumber](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-account-number.md "")
:

[card_expirationMonth](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-expiration-month.md "")
:

[card_expirationYear](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-expiration-year.md "")
:

[ccAuthService_run](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-auth-service-run.md "")
:
Set this field to `true`.

[merchantID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-id.md "")
:

[merchantReferenceCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-reference-code.md "")
:

[purchaseTotals_currency](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/purchase-totals-currency.md "")
:

[purchaseTotals_grandTotalAmount](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/purchase-totals-grand-total-amount.md "")
:

airlineData_numberOfPassengers
:

[airlineData_passengerName](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-passenger-name.md "")
:

airlineData_ticketNumber
:

[ccAuthService_industryDatatype](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-auth-service-industry-data-type.md "")
:
Set to `airline`.

[airlineData_leg_#_carrierCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-carrier-code.md "")
:

[airlineData_leg_#_departureDate](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-departure-date.md "")
:

[airlineData_leg_#_destination](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-destination.md "")
:

[airlineData_leg_#_fareBasis](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-fare-basis.md "")
:

[airlineData_leg_#_originatingAirportCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-orig-airport-code.md "")
:

Captures {#airline-vital-capture-intro}
=======================================

This section describes how to capture an airline payment.

Leg Limitations {#airline-vital-capture-intro_leg-limit-capture}
----------------------------------------------------------------

`TSYS Acquiring Solutions` 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.

| Supported Card Types | Maxiumum Number of Trip Legs |
|----------------------|------------------------------|
| American Express     | 9                            |
| Visa                 | 4                            |
[`TSYS Acquiring Solutions` Leg Limitations]

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](/docs/cybs/en-us/airline/developer/vital/so/airline/airline-ref-intro/airline-ref-doc-codes.md "").

Multiple Captures
-----------------

`TSYS Acquiring Solutions` allows you to request multiple partial captures for one authorization when using the Visa card type. You must ensure that the total amount for all captures does not exceed the authorized amount. For a list of the fields required for multiple captures, see [Multiple Capture Fields for an Airline Payment](/docs/cybs/en-us/airline/developer/vital/so/airline/airline-vital-intro/airline-vital-capture-intro/airline-vital-capture-multi-fields.md "").

Endpoint {#airline-vital-capture-intro_d7e88}
---------------------------------------------

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

Required Fields for Capturing an Airline Payment {#airline-vital-capture-req-fields}
====================================================================================

Include these required fields to capture an airline payment.

[ccCaptureService_authRequestID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-capture-service-auth-request-id.md "")
:

[ccCaptureService_run](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-capture-service-run.md "")
:

[merchantID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-id.md "")
:

[merchantReferenceCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-reference-code.md "")
:
Set to the `merchant_ref_number` value used in corresponding authorization request.

[purchaseTotals_currency](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/purchase-totals-currency.md "")

[purchaseTotals_grandTotalAmount](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/purchase-totals-grand-total-amount.md "")
:

[airlineData_passengerName](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-passenger-name.md "")
:

[airlineData_restrictedTicketIndicator](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-restricted-ticket-ind.md "")
:

airlineData_ticketNumber
:

[ccCaptureService_industryDatatype](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-capture-service-industry-data-type.md "")
:
Set to `airline`.

[airlineData_leg_#_carrierCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-carrier-code.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_class](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-class.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_destination](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-destination.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_originatingAirportCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-orig-airport-code.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_stopoverCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-stop-over-code.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

Multiple Capture Fields for an Airline Payment {#airline-vital-capture-multi-fields}
====================================================================================

Include these fields in addition to the required fields when you are requesting multiple partial captures for a single airline payment.

airlineData_clearingCount
:

airlineData_clearingSequence
:

[ccCaptureService_sequence](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-capture-service-sequence.md "")
:

[ccCaptureService_totalCount](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-capture-service-total-count.md "")
:

Optional Fields for Capturing an Airline Payment {#airline-vital-capture-opt-fields}
====================================================================================

Choose from these optional fields to include additional information when capturing an airline payment.

[airlineData_leg_#_carrierCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-carrier-code.md "")
:

[airlineData_leg_#_class](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-class.md "")
:

[airlineData_leg_#_departureDate](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-departure-date.md "")
:

[airlineData_leg_#_destination](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-destination.md "")
:

[airlineData_leg_#_originatingAirportCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-orig-airport-code.md "")
:

[airlineData_leg_#_stopoverCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-stop-over-code.md "")
:

`Simple Order API` Example: Capturing an Airline Payment {#airline-vital-capture-ex-so}
=======================================================================================

Request

```
&lt;requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.11"&gt;
   &lt;merchantID&gt;test-merchant&lt;/merchantID&gt;
   &lt;merchantReferenceCode&gt;R98TV09EN200W&lt;/merchantReferenceCode&gt;
   &lt;purchaseTotals&gt;
      &lt;currency&gt;USD&lt;/currency&gt;
      &lt;grandTotalAmount&gt;204.78&lt;/grandTotalAmount&gt;
   &lt;/purchaseTotals&gt;
   &lt;ccCaptureService run="true"&gt;
      &lt;authRequestID&gt;0839543530000172034078&lt;/authRequestID&gt;
      &lt;industryDatatype&gt;airline&lt;/industryDatatype&gt;
   &lt;/ccCaptureService&gt;
   &lt;airlineData&gt;
      &lt;agentCode&gt;98222147&lt;agentCode&gt;
      &lt;agentName&gt;Regent Travel&lt;/agentName&gt;
      &lt;ticketNumber&gt;1234567890123450&lt;/ticketNumber&gt;
      &lt;passengerName&gt;John Smith&lt;/passengerName&gt;
      &lt;leg id="0"&gt;
         &lt;carrierCode&gt;VS&lt;/carrierCode&gt;
         &lt;originatingAirportCode&gt;GLA&lt;/originatingAirportCode&gt;
         &lt;class&gt;C&lt;/class&gt;
         &lt;departureDate&gt;080812&lt;/departureDate&gt;
         &lt;destination&gt;LGW&lt;/destination&gt;
      &lt;/leg&gt;
   &lt;/airlineData&gt;
&lt;/requestMessage&gt;
```

Response

```
&lt;replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.124"&gt;
   &lt;requestID&gt;0305782650000167905080&lt;/requestID&gt;
   &lt;decision&gt;ACCEPT&lt;/decision&gt;
   &lt;reasonCode&gt;100&lt;/reasonCode&gt;
   &lt;merchantReferenceCode&gt;R98TV09EN200W&lt;/merchantReferenceCode&gt;
   &lt;purchaseTotals&gt;&lt;currency&gt;USD&lt;/currency&gt;&lt;/purchaseTotals&gt;
   &lt;ccCaptureReply&gt;
      &lt;reasonCode&gt;100&lt;/reasonCode&gt;
      &lt;amount&gt;204.78&lt;/amount&gt;
      &lt;reconciliationID&gt;1094820975023470&lt;/reconciliationID&gt;
      &lt;enhancedDataEnabled&gt;y&lt;/enhancedDataEnabled&gt;
   &lt;/ccCaptureReply&gt;
&lt;/replyMessage&gt;
```

Stand-Alone Credits {#airline-vital-credit-intro}
=================================================

This topic describes how to process an airline stand-alone credit.

> All fields used in the original transaction must be included in your request.

Endpoint {#airline-vital-credit-intro_d7e112}
---------------------------------------------

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

Required Fields for Airline Stand Alone Credits {#airline-vital-credit-req-fields}
==================================================================================

Include these required fields to request an airline stand-alone credit.

[billTo_city](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-city.md "")
:

[billTo_country](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-country.md "")
:

[billTo_email](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-email.md "")
:

[billTo_firstName](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-first-name.md "")
:

[billTo_lastName](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-last-name.md "")
:

[billTo_postalCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-postal-code.md "")
:

[billTo_state](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-state.md "")
:

[billTo_street1](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-street1.md "")
:

[card_accountNumber](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-account-number.md "")
:

[card_expirationMonth](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-expiration-month.md "")
:

[card_expirationYear](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-expiration-year.md "")
:

[ccCreditService_captureRequestID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-credit-service-capture-request-id.md "")
:

[ccCreditService_run](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-credit-service-run.md "")
:
set to `true`. For example ccCreditService run="true".

[merchantID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-id.md "")
:

[merchantReferenceCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-reference-code.md "")
:
Set to the `merchant_ref_number` value used in corresponding capture request.

[purchaseTotals_currency](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/purchase-totals-currency.md "")
:

[purchaseTotals_grandTotalAmount](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/purchase-totals-grand-total-amount.md "")
:

[airlineData_passengerName](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-passenger-name.md "")
:

[airlineData_restrictedTicketIndicator](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-restricted-ticket-ind.md "")
:

airlineData_ticketNumber
:

[ccCreditService_industryDatatype](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/cc-credit-service-industry-data-type.md "")
:
Set to `airline`.

[airlineData_leg_#_carrierCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-carrier-code.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_class](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-class.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_destination](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-destination.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_originatingAirportCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-orig-airport-code.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

[airlineData_leg_#_stopoverCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/airline-data-leg-num-stop-over-code.md "")
:
Replace the `#` character with the number `0` for the first leg and consecutive numbers for any additional legs.

`Simple Order API` Example: Processing Airline Stand-Alone Credits {#airline-vital-credit-ex-so}
================================================================================================

Request

```
&lt;requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.213"&gt;
	&lt;merchantID&gt;test-merchant&lt;/merchantID&gt;
	&lt;merchantReferenceCode&gt;refnum-1234&lt;/merchantReferenceCode&gt;
	&lt;purchaseTotals&gt;
		&lt;currency&gt;USD&lt;/currency&gt;
		&lt;grandTotalAmount&gt;204.78&lt;/grandTotalAmount&gt;
	&lt;/purchaseTotals&gt;
	&lt;ccCreditService run="true"&gt;
		&lt;captureRequestID&gt;0305782650000167905080&lt;/captureRequestID&gt;
	&lt;/ccCreditService&gt;
&lt;/requestMessage&gt;
```

Response

```
&lt;replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.213"&gt;
	&lt;merchantReferenceCode&gt;Postman-1701820687&lt;/merchantReferenceCode&gt;
	&lt;requestID&gt;0305782650000167905080&lt;/requestID&gt;
	&lt;decision&gt;ACCEPT&lt;/decision&gt;
	&lt;reasonCode&gt;100&lt;/reasonCode&gt;
	&lt;requestToken&gt;Axj/7wSTfHUvjqCkViFEABEg2asWjlgzb0qE+c4YxmKeQXe+aFgKeQXe+bn6QHymhcMmkmXoxZaH/wJyb46l4wXgbv0b4AAAAxnW&lt;/requestToken&gt;
	&lt;purchaseTotals&gt;
		&lt;currency&gt;USD&lt;/currency&gt;
	&lt;/purchaseTotals&gt;
	&lt;ccCreditReply&gt;
		&lt;reasonCode&gt;100&lt;/reasonCode&gt;
		&lt;requestDateTime&gt;2023-12-05T23:58:07Z&lt;/requestDateTime&gt;
		&lt;amount&gt;204.78&lt;/amount&gt;
		&lt;reconciliationID&gt;65149037RPON81F1&lt;/reconciliationID&gt;
		&lt;authorizationCode&gt;888888&lt;/authorizationCode&gt;
		&lt;processorResponse&gt;100&lt;/processorResponse&gt;
	&lt;/ccCreditReply&gt;
&lt;/replyMessage&gt;
```

Airline Data Reference Information {#airline-ref-intro}
=======================================================

This section contains reference information that is useful when using Airline Data.

Airline Document Type Codes {#airline-ref-doc-codes}
====================================================

To indicate the purpose of a purchase, set the airlineData_documentType field to a value listed in the Code column.

| Code | Description                                                      |
|:-----|:-----------------------------------------------------------------|
| 01   | Passenger ticket                                                 |
| 02   | Additional collection                                            |
| 03   | Excess baggage                                                   |
| 04   | Miscellaneous charge order (MCO) or prepaid ticket authorization |
| 05   | Special service ticket                                           |
| 06   | Supported refund                                                 |
| 07   | Unsupported refund                                               |
| 08   | Lost ticket application                                          |
| 09   | Tour order voucher                                               |
| 10   | Ticket by mail                                                   |
| 11   | Undercharge adjustment                                           |
| 12   | Group ticket                                                     |
| 13   | Exchange adjustment                                              |
| 14   | SPD or air freight                                               |
| 15   | In-flight adjustment                                             |
| 16   | Agency passenger ticket                                          |
| 17   | Agency tour order or voucher                                     |
| 18   | Agency miscellaneous charge order (MCO)                          |
| 19   | Agency exchange order                                            |
| 20   | Agency group ticket                                              |
| 21   | Debit adjustment for duplicate refund or use                     |
| 22   | In-flight merchandise order                                      |
| 23   | Catalogue merchandise order                                      |
| 24   | In-flight phone charges                                          |
| 25   | Frequent flyer fee or purchase                                   |
| 26   | Kennel charge                                                    |
| 27   | Animal transportation charge                                     |
| 28   | Firearms case                                                    |
| 29   | Upgrade charge                                                   |
| 30   | Credit for unused transportation                                 |
| 31   | Credit for class of service adjustment                           |
| 32   | Credit for denied boarding                                       |
| 33   | Credit for miscellaneous refund                                  |
| 34   | Credit for lost ticket refund                                    |
| 35   | Credit for exchange refund                                       |
| 36   | Credit for overcharge adjustment                                 |
| 37   | Credit for multiple Unused tickets                               |
| 38   | Exchange order                                                   |
| 39   | Self-service ticket                                              |
| 41   | In-flight duty-free purchase                                     |
| 42   | Senior citizen discount booklets                                 |
| 43   | Club membership fee                                              |
| 44   | Coupon book                                                      |
| 45   | In-flight charges                                                |
| 46   | Tour deposit                                                     |
| 47   | Frequent flyer overnight delivery charge                         |
| 48   | Frequent flyer fulfillment                                       |
| 49   | Small package delivery                                           |
| 50   | Vendor sale                                                      |
| 51   | Miscellaneous taxes or fees                                      |
| 52   | Travel agency fee                                                |
| 60   | Vendor refund or credit                                          |
| 64   | Duty free sale                                                   |
| 65   | Preferred seat upgrade                                           |
| 66   | Cabin upgrade                                                    |
| 67   | Lounge or club access or day pass                                |
| 68   | Agent assisted reservation or ticketing fee                      |
| 69   | Ticket change or cancel fee                                      |
| 70   | Trip insurance                                                   |
| 71   | Unaccompanied minor                                              |
| 72   | Standby fee                                                      |
| 73   | Curbside baggage                                                 |
| 74   | In-flight medical equipment                                      |
| 75   | Ticket or pass print fee                                         |
| 76   | Checked sporting or special equipment                            |
| 77   | Dry ice fee                                                      |
| 78   | Mail or postage fee                                              |
| 79   | Club membership fee or temporary trial                           |
| 80   | Frequent flyer activation or reinstatement                       |
| 81   | Gift certificate                                                 |
| 82   | Onboard or in-flight prepaid voucher                             |
| 83   | Optional services fee                                            |
| 84   | Advance purchase for excess baggage                              |
| 85   | Advance purchase for preferred seat upgrade                      |
| 86   | Advance purchase for cabin upgrade                               |
| 87   | Advance purchase for optional services                           |
| 88   | Wi-Fi                                                            |
| 89   | Packages                                                         |
| 90   | In-flight entertainment or internet access                       |
| 91   | Overweight bag fee                                               |
| 92   | Sleep sets                                                       |
| 93   | Special purchase fee                                             |
[Airline Document Type Codes]

Ancillary Service Category Codes {#airline-ref-anc-codes}
=========================================================

To indicate the service provided in an ancillary purchase, set the ancillaryData_service_#_categoryCode and ancillaryData_service_#_subcategoryCode fields to a value listed in the Ancillary Service Category Code column.

| Ancillary Service Category Codes | Description             |
|:--------------------------------:|:------------------------|
|               `BF`               | Bundled service         |
|               `BG`               | Baggage fee             |
|               `CF`               | Change fee              |
|               `CG`               | Cargo                   |
|               `CO`               | Carbon offset           |
|               `FF`               | Frequent flyer          |
|               `GF`               | Gift card               |
|               `GT`               | Ground transport        |
|               `IE`               | In-flight entertainment |
|               `LG`               | Lounge                  |
|               `MD`               | Medical                 |
|               `ML`               | Meal or beverage        |
|               `OT`               | Other                   |
|               `PA`               | Passenger assist fee    |
|               `PT`               | Pets                    |
|               `SA`               | Seat fees               |
|               `SB`               | Standby                 |
|               `SF`               | Service fee             |
|               `ST`               | Store                   |
|               `TS`               | Travel service          |
|               `UN`               | Unaccompanied travel    |
|               `UP`               | Upgrades                |
|               `WI`               | Wi-Fi                   |
[Ancillary Service Category Codes]

