{"title":"Airline data","category":"default","creationDate":1664364660,"content":"<p>If your business operates under specific travel-related Merchant Category Codes (MCCs), you can provide enhanced scheme data (ESD) to optimize your interchange rates. Airline data consists of industry-specific details, such as ticket numbers and passenger names.<\/p>\n<p>You get benefits for transactions, depending on the scheme:<\/p>\n<ul>\n<li>Visa: prevent downgrades to higher commercial standard rates.<\/li>\n<li>Mastercard: ensure that your transactions qualify for the interchange rates specific to your industry.<\/li>\n<\/ul>\n<h2>Requirements<\/h2>\n<p>In addition to the <a href=\"\/pt\/payment-methods\/cards\/enhanced-scheme-data#requirements\">requirements that apply to sending ESD<\/a>, take into account the following additional limitations for sending airline data.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Limitations<\/strong><\/td>\n<td style=\"text-align: left;\"><ul><li>Your business must operate under an <a href=\"#airline-data-mcc\">eligible MCC<\/a>.<\/li><li>You can send airline data for both commercial and consumer cards.<\/li><\/ul><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"airline-data-mcc\">Eligible MCCs for sending airline data<\/h3>\n<p>You can send airline data if you have one of the following MCCs:<\/p>\n<table>\n<thead>\n<tr>\n<th>MCC<\/th>\n<th>Description<\/th>\n<th>Scheme<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>3000-3350<\/td>\n<td>Airlines<\/td>\n<td>Mastercard, Visa<\/td>\n<\/tr>\n<tr>\n<td>4511<\/td>\n<td>Airlines and air carriers<\/td>\n<td>Mastercard, Visa<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For the following MCC, you can send airline data in limited cases:<\/p>\n<table>\n<thead>\n<tr>\n<th>MCC<\/th>\n<th>Description<\/th>\n<th>Scheme and limitation<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>4722<\/td>\n<td>Travel agencies and tour operators<\/td>\n<td><ul><li>Mastercard: You automatically get a discount for consumer card payments. For commercial cards, you can instead <a href=\"\/pt\/payment-methods\/cards\/enhanced-scheme-data#l2-l3\">submit level 2\/3<\/a> data for the interchange fee discount.<\/li><li>Visa: The rules depend on whether the card is present (in-person payment) or the card is not present (online payment).<ul><li>Card present: For both consumer and commercial cards, you must <a href=\"\/point-of-sale\/add-data#additional-data-elements\">send airline data to get a discount<\/a>.<\/li><li>Card not present: You do not have to send airline data to get a discount.<\/li><li>You cannot send level 2\/3 data for any Visa commercial card transaction.<\/li><\/ul><\/li><\/ul><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>How it works<\/h2>\n<p>In your payment or capture requests, include the airline-specific data fields. The recommended request depends on your <a href=\"\/pt\/online-payments\/capture#types-of-capture\">capture setting<\/a>.<\/p>\n<ul>\n<li><span translate=\"no\"><strong>Automatic capture<\/strong><\/span> and <span translate=\"no\"><strong>Delayed automatic capture<\/strong><\/span>: in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request, include airline data in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-additionalData-AdditionalDataAirline-airline-ticket_number\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">additionalData.airline<\/a> object.<\/li>\n<li><span translate=\"no\"><strong>Manual capture<\/strong><\/span> (<span translate=\"no\"><strong>Single partial capture<\/strong><\/span> and <span translate=\"no\"><strong>Multiple partial capture<\/strong><\/span>): in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/captures\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/{paymentPspReference}\/captures<\/a> request, include airline data in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/captures#request-enhancedSchemeData-airline\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">enhancedSchemeData.airline<\/a> object.<\/li>\n<\/ul>\n<h2>Send airline data<\/h2>\n<ol>\n<li>\n<p>Include airline data in the payment or capture request.<\/p>\n<ul>\n<li>For the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request: use the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-additionalData-AdditionalDataAirline-airline-ticket_number\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">additionalData.airline<\/a> object.<\/li>\n<li>For the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/captures\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/{paymentPspReference}\/captures<\/a> request: use the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/captures#request-enhancedSchemeData-airline\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">enhancedSchemeData.airline<\/a> object.<br \/>\nThe following table lists the airline data fields that are required and optional to provide in your requests, depending on the type of request.<\/li>\n<\/ul>\n<table>\n<thead>\n<tr>\n<th>Payment request fields<\/th>\n<th>Capture request fields<\/th>\n<th>Required<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>airline_code<\/code><\/td>\n<td><code>code<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>ticket_number<\/code><\/td>\n<td><code>ticket.number<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>passenger_name<\/code><\/td>\n<td><code>passengers.firstName<\/code> and <code>passengers.lastName<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].carrier_code<\/code><\/td>\n<td><code>legs.carrierCode<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].class_of_travel<\/code><\/td>\n<td><code>legs.classOfTravel<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].destination_code<\/code><\/td>\n<td><code>legs.destinationAirportCode<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].date_of_travel<\/code><\/td>\n<td><code>legs.dateOfTravel<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].depart_airport<\/code><\/td>\n<td><code>legs.depatureAirportCode<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].flight_number<\/code><\/td>\n<td><code>legs.flightNumber<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>issue_date<\/code><\/td>\n<td><code>ticket.issueDate<\/code><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].stop_over_code<\/code><\/td>\n<td><code>legs.stopOverCode<\/code><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].fare_base_code<\/code><\/td>\n<td><code>legs.fareBasisCode<\/code><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><code>leg[itemNr].depart_tax<\/code><\/td>\n<td><code>legs.departureTax<\/code><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><code>computerized_reservation_system<\/code><\/td>\n<td><code>computerizedReservationSystem<\/code><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><code>travel_agency_name<\/code><\/td>\n<td><code>travelAgency.name<\/code><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><code>travel_agency_code<\/code><\/td>\n<td><code>travelAgency.code<\/code><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Select the endpoint for the corresponding request example:<\/p>\n\n<div id=\"tabaGAxB\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;&lt;code&gt;\\\/payments&lt;\\\/code&gt; endpoint&quot;,&quot;content&quot;:&quot;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;Example payment request with airline data&#039;\\&quot; :id=\\&quot;&#039;payment-request-airline&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-API-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;idempotency-key: YOUR_IDEMPOTENCY_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-X POST\\\\n-d &#039;{\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;USD\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 20000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;cvc\\\\&amp;quot;: \\\\&amp;quot;737\\\\&amp;quot;,\\\\n    \\\\&amp;quot;expiryMonth\\\\&amp;quot;: \\\\&amp;quot;03\\\\&amp;quot;,\\\\n    \\\\&amp;quot;expiryYear\\\\&amp;quot;: \\\\&amp;quot;2030\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;John Smith\\\\&amp;quot;,\\\\n    \\\\&amp;quot;number\\\\&amp;quot;: \\\\&amp;quot;4444333322221111\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/...\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;additionalData\\\\&amp;quot;: {\\\\n     \\\\&amp;quot;airline.passenger_name\\\\&amp;quot;:\\\\&amp;quot;John Smith\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.ticket_number\\\\&amp;quot;:\\\\&amp;quot;AIRLINE_TICKET_NUMBER\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.airline_code\\\\&amp;quot;:\\\\&amp;quot;074\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.flight_date\\\\&amp;quot;:\\\\&amp;quot;2023-03-22 11:00\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.travel_agency_code\\\\&amp;quot;:\\\\&amp;quot;12345678\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.travel_agency_name\\\\&amp;quot;:\\\\&amp;quot;TRAVEL_AGENCY_NAME\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.document_type\\\\&amp;quot;:\\\\&amp;quot;01\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.ticket_issue_address\\\\&amp;quot;:\\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.carrier_code\\\\&amp;quot;:\\\\&amp;quot;KL\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.class_of_travel\\\\&amp;quot;:\\\\&amp;quot;F\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.depart_airport\\\\&amp;quot;:\\\\&amp;quot;AMS\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.destination_code\\\\&amp;quot;:\\\\&amp;quot;CDG\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.stop_over_code\\\\&amp;quot;:\\\\&amp;quot;X\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.fare_base_code\\\\&amp;quot;:\\\\&amp;quot;F\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.flight_number\\\\&amp;quot;:\\\\&amp;quot;1234\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.date_of_travel\\\\&amp;quot;:\\\\&amp;quot;2023-03-22 11:00\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg1.depart_tax\\\\&amp;quot;:\\\\&amp;quot;100\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.carrier_code\\\\&amp;quot;:\\\\&amp;quot;AF\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.class_of_travel\\\\&amp;quot;:\\\\&amp;quot;Y\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.depart_airport\\\\&amp;quot;:\\\\&amp;quot;CDG\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.destination_code\\\\&amp;quot;:\\\\&amp;quot;AMS\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.stop_over_code\\\\&amp;quot;:\\\\&amp;quot;X\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.fare_base_code\\\\&amp;quot;:\\\\&amp;quot;Y\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.flight_number\\\\&amp;quot;:\\\\&amp;quot;4321\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.computerized_reservation_system\\\\&amp;quot;:\\\\&amp;quot;SABR\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.date_of_travel\\\\&amp;quot;:\\\\&amp;quot;2023-03-24 16:00\\\\&amp;quot;,\\\\n     \\\\&amp;quot;airline.leg2.depart_tax\\\\&amp;quot;:\\\\&amp;quot;100\\\\&amp;quot;\\\\n  }\\\\n}&#039;&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;payments_endpoint_0_1&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;&lt;code&gt;\\\/captures&lt;\\\/code&gt; endpoint&quot;,&quot;content&quot;:&quot;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;Example capture request with airline data&#039;\\&quot; :id=\\&quot;&#039;capture-request-airline&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments\\\\\\\/WNS7WQ756L2GWR82\\\\\\\/captures \\\\\\\\\\\\n-H &#039;x-API-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;idempotency-key: YOUR_IDEMPOTENCY_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-X POST\\\\n-d &#039;{\\\\n   \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n   \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;USD\\\\&amp;quot;,\\\\n      \\\\&amp;quot;value\\\\&amp;quot;:20000\\\\n   },\\\\n   \\\\&amp;quot;originalReference\\\\&amp;quot;:\\\\&amp;quot;NC6HT9CRT65ZGN82\\\\&amp;quot;,\\\\n   \\\\&amp;quot;enhancedSchemeData\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;airline\\\\&amp;quot;: {\\\\n         \\\\&amp;quot;passengers\\\\&amp;quot;: [\\\\n            {\\\\n               \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;John\\\\&amp;quot;,\\\\n               \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Smith\\\\&amp;quot;\\\\n            }\\\\n         ],\\\\n         \\\\&amp;quot;ticket\\\\&amp;quot;: {\\\\n            \\\\&amp;quot;number\\\\&amp;quot;: \\\\&amp;quot;AIRLINE_TICKET_NUMBER\\\\&amp;quot;,\\\\n            \\\\&amp;quot;issueDate\\\\&amp;quot;: \\\\&amp;quot;2023-03-22\\\\&amp;quot;\\\\n         },\\\\n         \\\\&amp;quot;code\\\\&amp;quot;: \\\\&amp;quot;074\\\\&amp;quot;,\\\\n         \\\\&amp;quot;travelAgency\\\\&amp;quot;: {\\\\n            \\\\&amp;quot;code\\\\&amp;quot;: \\\\&amp;quot;12345678\\\\&amp;quot;,\\\\n            \\\\&amp;quot;name\\\\&amp;quot;: \\\\&amp;quot;TRAVEL_AGENCY_NAME\\\\&amp;quot;\\\\n         },\\\\n         \\\\&amp;quot;legs\\\\&amp;quot;: [\\\\n            {\\\\n               \\\\&amp;quot;carrierCode\\\\&amp;quot;: \\\\&amp;quot;KL\\\\&amp;quot;,\\\\n               \\\\&amp;quot;classOfTravel\\\\&amp;quot;: \\\\&amp;quot;F\\\\&amp;quot;,\\\\n               \\\\&amp;quot;departureAirportCode\\\\&amp;quot;: \\\\&amp;quot;AMS\\\\&amp;quot;,\\\\n               \\\\&amp;quot;destinationAirportCode\\\\&amp;quot;: \\\\&amp;quot;CDG\\\\&amp;quot;,\\\\n               \\\\&amp;quot;stopOverCode\\\\&amp;quot;: \\\\&amp;quot;X\\\\&amp;quot;,\\\\n               \\\\&amp;quot;fareBasisCode\\\\&amp;quot;: \\\\&amp;quot;F\\\\&amp;quot;,\\\\n               \\\\&amp;quot;flightNumber\\\\&amp;quot;: \\\\&amp;quot;1234\\\\&amp;quot;,\\\\n               \\\\&amp;quot;dateOfTravel\\\\&amp;quot;: \\\\&amp;quot;2023-03-22 11:00\\\\&amp;quot;,\\\\n               \\\\&amp;quot;departureTax\\\\&amp;quot;: \\\\&amp;quot;100\\\\&amp;quot;\\\\n            },\\\\n            {\\\\n               \\\\&amp;quot;carrierCode\\\\&amp;quot;: \\\\&amp;quot;AF\\\\&amp;quot;,\\\\n               \\\\&amp;quot;classOfTravel\\\\&amp;quot;: \\\\&amp;quot;Y\\\\&amp;quot;,\\\\n               \\\\&amp;quot;departureAirportCode\\\\&amp;quot;: \\\\&amp;quot;CDG\\\\&amp;quot;,\\\\n               \\\\&amp;quot;destinationAirportCode\\\\&amp;quot;: \\\\&amp;quot;AMS\\\\&amp;quot;,\\\\n               \\\\&amp;quot;stopOverCode\\\\&amp;quot;: \\\\&amp;quot;X\\\\&amp;quot;,\\\\n               \\\\&amp;quot;fareBasisCode\\\\&amp;quot;: \\\\&amp;quot;Y\\\\&amp;quot;,\\\\n               \\\\&amp;quot;flightNumber\\\\&amp;quot;: \\\\&amp;quot;4321\\\\&amp;quot;,\\\\n               \\\\&amp;quot;dateOfTravel\\\\&amp;quot;: \\\\&amp;quot;2023-03-24 16:00\\\\&amp;quot;,\\\\n               \\\\&amp;quot;departureTax\\\\&amp;quot;: \\\\&amp;quot;100\\\\&amp;quot;\\\\n            }\\\\n         ],\\\\n         \\\\&amp;quot;computerizedReservationSystem\\\\&amp;quot;: \\\\&amp;quot;SABR\\\\&amp;quot;\\\\n      }\\\\n   }\\\\n}&#039;&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;captures_endpoint_1_2&quot;,&quot;relation&quot;:&quot;&quot;}]\"\n            :should-update-when-url-changes='false'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<\/li>\n<\/ol>\n<h2>Test sending airline data<\/h2>\n<p>Use the following test card to make test payments with airline data:<\/p>\n<table>\n<thead>\n<tr>\n<th>Card Number<\/th>\n<th style=\"text-align: left;\">Card Type<\/th>\n<th>Expiry Date<\/th>\n<th>CVV<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>5555 5555 5555 4444<\/td>\n<td style=\"text-align: left;\">Mastercard<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>4444 3333 2222 1111<\/td>\n<td style=\"text-align: left;\">Visa<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>See also<\/h2>\n<ul>\n<li><a href=\"\/pt\/payment-methods\/cards\">Cards<\/a><\/li>\n<li><a href=\"\/pt\/payment-methods\/cards\/enhanced-scheme-data\">Enhanced scheme data<\/a><\/li>\n<li><a href=\"\/pt\/development-resources\/webhooks\">Webhooks<\/a><\/li>\n<\/ul>","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/cards\/enhanced-scheme-data\/airline","articleFields":{"description":"Send airline data for US domestic transactions.","feedback_component":true,"last_edit_on":"06-04-2023 11:15","filters_component":false,"page_id":"35a8f7bc-6010-4deb-a75d-fb194dcc12d8","decision_tree":"[]"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/cards\/enhanced-scheme-data\/airline","title":"Airline data","content":"If your business operates under specific travel-related Merchant Category Codes (MCCs), you can provide enhanced scheme data (ESD) to optimize your interchange rates. Airline data consists of industry-specific details, such as ticket numbers and passenger names.\nYou get benefits for transactions, depending on the scheme:\n\nVisa: prevent downgrades to higher commercial standard rates.\nMastercard: ensure that your transactions qualify for the interchange rates specific to your industry.\n\nRequirements\nIn addition to the requirements that apply to sending ESD, take into account the following additional limitations for sending airline data.\n\n\n\nRequirement\nDescription\n\n\n\n\nLimitations\nYour business must operate under an eligible MCC.You can send airline data for both commercial and consumer cards.\n\n\n\nEligible MCCs for sending airline data\nYou can send airline data if you have one of the following MCCs:\n\n\n\nMCC\nDescription\nScheme\n\n\n\n\n3000-3350\nAirlines\nMastercard, Visa\n\n\n4511\nAirlines and air carriers\nMastercard, Visa\n\n\n\nFor the following MCC, you can send airline data in limited cases:\n\n\n\nMCC\nDescription\nScheme and limitation\n\n\n\n\n4722\nTravel agencies and tour operators\nMastercard: You automatically get a discount for consumer card payments. For commercial cards, you can instead submit level 2\/3 data for the interchange fee discount.Visa: The rules depend on whether the card is present (in-person payment) or the card is not present (online payment).Card present: For both consumer and commercial cards, you must send airline data to get a discount.Card not present: You do not have to send airline data to get a discount.You cannot send level 2\/3 data for any Visa commercial card transaction.\n\n\n\nHow it works\nIn your payment or capture requests, include the airline-specific data fields. The recommended request depends on your capture setting.\n\nAutomatic capture and Delayed automatic capture: in the  \/payments request, include airline data in the  additionalData.airline object.\nManual capture (Single partial capture and Multiple partial capture): in the  \/payments\/{paymentPspReference}\/captures request, include airline data in the  enhancedSchemeData.airline object.\n\nSend airline data\n\n\nInclude airline data in the payment or capture request.\n\nFor the  \/payments request: use the  additionalData.airline object.\nFor the  \/payments\/{paymentPspReference}\/captures request: use the  enhancedSchemeData.airline object.\nThe following table lists the airline data fields that are required and optional to provide in your requests, depending on the type of request.\n\n\n\n\nPayment request fields\nCapture request fields\nRequired\n\n\n\n\nairline_code\ncode\n\n\n\nticket_number\nticket.number\n\n\n\npassenger_name\npassengers.firstName and passengers.lastName\n\n\n\nleg[itemNr].carrier_code\nlegs.carrierCode\n\n\n\nleg[itemNr].class_of_travel\nlegs.classOfTravel\n\n\n\nleg[itemNr].destination_code\nlegs.destinationAirportCode\n\n\n\nleg[itemNr].date_of_travel\nlegs.dateOfTravel\n\n\n\nleg[itemNr].depart_airport\nlegs.depatureAirportCode\n\n\n\nleg[itemNr].flight_number\nlegs.flightNumber\n\n\n\nissue_date\nticket.issueDate\n\n\n\nleg[itemNr].stop_over_code\nlegs.stopOverCode\n\n\n\nleg[itemNr].fare_base_code\nlegs.fareBasisCode\n\n\n\nleg[itemNr].depart_tax\nlegs.departureTax\n\n\n\ncomputerized_reservation_system\ncomputerizedReservationSystem\n\n\n\ntravel_agency_name\ntravelAgency.name\n\n\n\ntravel_agency_code\ntravelAgency.code\n\n\n\n\nSelect the endpoint for the corresponding request example:\n\n\n    \n        \n        \n    \n\n\n\n\nTest sending airline data\nUse the following test card to make test payments with airline data:\n\n\n\nCard Number\nCard Type\nExpiry Date\nCVV\n\n\n\n\n5555 5555 5555 4444\nMastercard\n03\/2030\n737\n\n\n4444 3333 2222 1111\nVisa\n03\/2030\n737\n\n\n\nSee also\n\nCards\nEnhanced scheme data\nWebhooks\n","type":"page","locale":"pt","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Cards","lvl3":"Enhanced scheme data","lvl4":"Airline data"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/cards","lvl3":"https:\/\/docs.adyen.com\/pt\/payment-methods\/cards\/enhanced-scheme-data","lvl4":"\/pt\/payment-methods\/cards\/enhanced-scheme-data\/airline"},"levels":5,"category":"Payment method","category_color":"green","tags":["Airline"]}}
