{"title":"Authorisation with airline data","category":"default","creationDate":1779533780,"content":"<p>When you send an authorisation request with a batch file submission, you can include <a href=\"#airline-data-sub-lines\">airline data information<\/a>.<\/p>\n<p>To do so, you append the relevant airline data as sub-lines to the\u00a0<a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\/authorisation-for-a-card-payment\">card payment<\/a>, <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\/authorisation-for-an-iban-payment\">IBAN payment<\/a> or <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\/authorisation-for-a-recurring-payment\">recurring payment<\/a> authorisation requests.<\/p>\n<p>Below you can find an overview of the airline data sub-lines you can pass with the\u00a0batch file requests.<\/p>\n<h2 id=\"airline-data-sub-lines\">Airline data sub-lines<\/h2>\n<p>Below you can find an overview of the airline data sub-lines you can pass with the\u00a0batch file requests.<\/p>\n<h3 id=\"airline\">Airline<\/h3>\n<div class=\"sc-notice info\"><div>\n<p>This sub-line holds information about airline data information\u00a0you want to send along with batch file <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\">authorisation<\/a> and <a href=\"\/online-payments\/modify-payments\">capture<\/a> requests.<\/p>\n<p>Airline data fields may have\u00a0specific\u00a0format and\/or character limitations: refer to the\u00a0<a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-additionalData-AdditionalDataAirline\" class=\"codeLabel external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">airline data overview<\/a>\u00a0for details.<\/p>\n<\/div><\/div>\n<table><thead><tr class=\"header\"><th><p>Field #<\/p><\/th><th><p>Format<\/p><\/th><th><p>Required<\/p><\/th><th><p>Description<\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>SL<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Record type identifier<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td><p>`SL` sub-line record number reference within its parent line.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/p><\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Fixed value: <code>Airline<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Transaction type. <br>Defines the required field types for the specific sub-line.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Customer reference identifier\/number.<\/p>\n<\/td><\/tr><tr><td>\n<p>5<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Airline code.<\/p>\n<\/td><\/tr><tr><td>\n<p>6<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Airline designator code.<\/p>\n<\/td><\/tr><tr><td>\n<p>7<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Ticket issue address.<\/p>\n<\/td><\/tr><tr><td>\n<p>8<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Ticket number.<\/p>\n<\/td><\/tr><tr><td>\n<p>9<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Travel agency code.<\/p>\n<\/td><\/tr><tr><td>\n<p>10<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Travel agency name.<\/p>\n<\/td><\/tr><tr><td>\n<p>11<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Agency plan name.<\/p>\n<\/td><\/tr><tr><td>\n<p>12<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Agency invoice number.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<p>Example of isolated airline data batch file sub-line:<\/p>\n<pre><code class=\"language-text\">SL,3,Airline,BVQT04,074,KL,5th avenue 66,100020003034,12345678,,,,<\/code><\/pre>\n<p>Example of airline data batch file sub-line in a batch file context:<\/p>\n<pre><code class=\"language-text\">FH,1.0,DEVL,Company,TestCompany,Default,27,ws@Company.TestCompany,Modification,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,CaptureWithExternalAuth,Test Product\n3,123456\nSL,1,PaymentDetails,10000,2,EUR\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456\nSL,4,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,\nSL,5,AirlinePassenger,1,Name,Miguel,Rodriguez,,,\nSL,8,ShopperInteraction,Ecommerce\nBT,1\nFT,1<\/code><\/pre>\n<h3 id=\"airlineleg\">AirlineLeg<\/h3>\n<div class=\"sc-notice info\"><div>\n<p>This sub-line holds information about airline leg information\u00a0you want to send along with batch file <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\">authorisation<\/a> and <a href=\"\/online-payments\/modify-payments\">capture<\/a> requests.<\/p>\n<p>If you include airline data in your request, the batch file needs to contain <em>at least one airline leg<\/em> sub-line as well.<\/p>\n<p>Airline data fields may have specific format and\/or character limitations: refer to the <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-additionalData-AdditionalDataAirline-airline-leg-carrier_code\" class=\"codeLabel external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">airline data overview<\/a> for details.<\/p>\n<\/div><\/div>\n<table><thead><tr class=\"header\"><th><p>Field #<\/p><\/th><th><p>Format<\/p><\/th><th><p>Required<\/p><\/th><th><p>Description<\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>SL<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Record type identifier<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td><p>`SL` sub-line record number reference within its parent line.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/p><\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Fixed value: <code>AirlineLeg<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Transaction type. <br>Defines the required field types for the specific sub-line.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>Leg number identifier.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/td><\/tr><tr><td>\n<p>5<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Departure airport.<\/p>\n<\/td><\/tr><tr><td>\n<p>6<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Flight number.<\/p>\n<\/td><\/tr><tr><td>\n<p>7<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Carrier code.<\/p>\n<\/td><\/tr><tr><td>\n<p>8<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Fare_basis_code\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Fare basis code<\/a>.<\/p>\n<\/td><\/tr><tr><td>\n<p>9<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Travel class identifier.<\/p>\n<\/td><\/tr><tr><td>\n<p>10<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Stopover code.<\/p>\n<\/td><\/tr><tr><td>\n<p>11<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Destination code.<\/p>\n<\/td><\/tr><tr><td>\n<p>12<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Travel date.<\/p>\n<\/td><\/tr><tr><td>\n<p>13<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Departure_tax\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Departure tax<\/a>.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<p>Example of isolated airline leg data batch file sub-line:<\/p>\n<pre><code class=\"language-text\">SL,4,AirlineLeg,1,AMS,12345,AA,Y123456,B,O,LON,2014-08-02T19:05:00.000,Y<\/code><\/pre>\n<p>Example of airline leg data batch file sub-line in a batch file context:<\/p>\n<pre><code class=\"language-text\">FH,1.0,DEVL,Company,TestCompany,Default,27,ws@Company.TestCompany,Modification,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,CaptureWithExternalAuth,Test Product\n3,123456\nSL,1,PaymentDetails,10000,2,EUR\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456\nSL,4,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,\nSL,5,AirlinePassenger,1,Name,Miguel,Rodriguez,,,\nSL,8,ShopperInteraction,Ecommerce\nBT,1\nFT,1<\/code><\/pre>\n<h3 id=\"airlinepassenger\">AirlinePassenger<\/h3>\n<div class=\"sc-notice info\"><div>\n<p>This sub-line holds information about airline passenger information\u00a0you want to send along with batch file <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\">authorisation<\/a> and <a href=\"\/online-payments\/modify-payments\">capture<\/a> requests.<\/p>\n<p>If you include airline data in your request, besides at least one airline leg sub-line the batch file needs to contain at least one airline passenger sub-line as well.<\/p>\n<p>Airline data fields may have\u00a0specific\u00a0format and\/or character limitations: refer to the\u00a0<a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-additionalData-AdditionalDataAirline-airline-passenger_name\" class=\"codeLabel external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">airline data overview<\/a>\u00a0for details.<\/p>\n<\/div><\/div>\n<table><thead><tr class=\"header\"><th><p>Field #<\/p><\/th><th><p>Format<\/p><\/th><th><p>Required<\/p><\/th><th><p>Description<\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>SL<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Record type identifier<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td><p>`SL` sub-line record number reference within its parent line.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/p><\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Fixed value: <code>AirlinePassenger<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Transaction type. <br>Defines the required field types for the specific sub-line.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>Passenger number identifier.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/td><\/tr><tr><td>\n<p>5<\/p>\n<\/td><td>\n<p>Fixed value: <code>Name<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Passenger data type.<\/p>\n<\/td><\/tr><tr><td>\n<p>6<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Passenger's first\/given name.<\/p>\n<\/td><\/tr><tr><td>\n<p>7<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Passenger's last\/family name.<\/p>\n<\/td><\/tr><tr><td>\n<p>8<\/p>\n<\/td><td><p>Format: <code>yyyy-MM-dd<\/code><br>\nFor example: <em>1980-02-28<\/em><\/p><\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Passenger's birth date.<\/p>\n<\/td><\/tr><tr><td>\n<p>9<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>Traveller type.<br>\nPassenger type code (PTC).<\/td><\/tr><\/tbody><\/table>\n<p>Example of isolated airline passenger data batch file sub-line:<\/p>\n<pre><code class=\"language-text\">SL,1,PaymentDetails,100,2,EUR,,,,,\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,5th avenue 66,100020003034,12345678,,,\nSL,4,AirlineLeg,1,AMS,12345,AA,Y123456,B,O,LON,2014-08-02T19:05:00.000,Y\nSL,5,AirlinePassenger,1,Name,John,Doe,1979-02-28,,<\/code><\/pre>\n<p>Example of airline passenger data batch file sub-line in a batch file context:<\/p>\n<pre><code class=\"language-text\">FH,1.0,DEVL,Company,TestCompany,Default,27,ws@Company.TestCompany,Modification,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,CaptureWithExternalAuth,Test Product\n3,123456\nSL,1,PaymentDetails,10000,2,EUR\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456\nSL,4,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,\nSL,5,AirlinePassenger,1,Name,Miguel,Rodriguez,,,\nSL,8,ShopperInteraction,Ecommerce\nBT,1\nFT,1<\/code><\/pre>\n<h2 id=\"optional-sub-lines\">Optional sub-lines<\/h2>\n<p>The <code>MerchantOrderReference<\/code> sub-line described below can be optionally included in the payment request.<\/p>\n<h3 id=\"merchantorderreference\">MerchantOrderReference<\/h3>\n<table><thead><tr class=\"header\"><th><p><strong>Field #<\/strong><\/p><\/th><th><p><strong>Format<\/strong><\/p><\/th><th><p><strong>Required<\/strong><\/p><\/th><th><p><strong>Description<\/strong><\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>SL<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Record type identifier<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>`SL` sub-line record number reference within its parent line.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Fixed value:\u00a0<code>MerchantOrderReference<\/code><\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Transaction type. <br>Defines the required field types for the specific sub-line.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Value of your order reference.\u00a0<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<pre><code class=\"language-text\">FH,1.0,TEST,Company,TestCompany,Default,2,ws@Company.TestCompany,Authorisation,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,Authorisation,Test Product 6,\nSL,1,PaymentDetails,100,2,SEK,,,,,\nSL,2,Card,4111111111111111,08,2018,737,CardHolderName,,,\nSL,3,MerchantOrderReference,XY66AB\nBT,1\nFT,1<\/code><\/pre>","url":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\/authorisation-with-airline-data","articleFields":{"id":"24216647","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\/authorisation-with-airline-data","title":"Authorisation with airline data","content":"When you send an authorisation request with a batch file submission, you can include airline data information.\nTo do so, you append the relevant airline data as sub-lines to the\u00a0card payment, IBAN payment or recurring payment authorisation requests.\nBelow you can find an overview of the airline data sub-lines you can pass with the\u00a0batch file requests.\nAirline data sub-lines\nBelow you can find an overview of the airline data sub-lines you can pass with the\u00a0batch file requests.\nAirline\n\nThis sub-line holds information about airline data information\u00a0you want to send along with batch file authorisation and capture requests.\nAirline data fields may have\u00a0specific\u00a0format and\/or character limitations: refer to the\u00a0airline data overview\u00a0for details.\n\nField #FormatRequiredDescription\n1\n\nFixed value: SL\n\n\n\nRecord type identifier\n\n2\n\nNumeric\n\n\n`SL` sub-line record number reference within its parent line.\nThe counter starts at 1, and it increments sequentially by one unit.\n3\n\nFixed value: Airline\n\n\n\nTransaction type. Defines the required field types for the specific sub-line.\n\n4\n\nAlphanumeric\n\n\n\nCustomer reference identifier\/number.\n\n5\n\nAlphanumeric\n\n\n\nAirline code.\n\n6\n\nAlphanumeric\n\n\n\nAirline designator code.\n\n7\n\nAlphanumeric\n\n\n\nTicket issue address.\n\n8\n\nAlphanumeric\n\n\n\nTicket number.\n\n9\n\nAlphanumeric\n\n\n\nTravel agency code.\n\n10\n\nAlphanumeric\n\n\n\nTravel agency name.\n\n11\n\nAlphanumeric\n\n\n\nAgency plan name.\n\n12\n\nAlphanumeric\n\n\n\nAgency invoice number.\n\nExample of isolated airline data batch file sub-line:\nSL,3,Airline,BVQT04,074,KL,5th avenue 66,100020003034,12345678,,,,\nExample of airline data batch file sub-line in a batch file context:\nFH,1.0,DEVL,Company,TestCompany,Default,27,ws@Company.TestCompany,Modification,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,CaptureWithExternalAuth,Test Product\n3,123456\nSL,1,PaymentDetails,10000,2,EUR\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456\nSL,4,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,\nSL,5,AirlinePassenger,1,Name,Miguel,Rodriguez,,,\nSL,8,ShopperInteraction,Ecommerce\nBT,1\nFT,1\nAirlineLeg\n\nThis sub-line holds information about airline leg information\u00a0you want to send along with batch file authorisation and capture requests.\nIf you include airline data in your request, the batch file needs to contain at least one airline leg sub-line as well.\nAirline data fields may have specific format and\/or character limitations: refer to the airline data overview for details.\n\nField #FormatRequiredDescription\n1\n\nFixed value: SL\n\n\n\nRecord type identifier\n\n2\n\nNumeric\n\n\n`SL` sub-line record number reference within its parent line.\nThe counter starts at 1, and it increments sequentially by one unit.\n3\n\nFixed value: AirlineLeg\n\n\n\nTransaction type. Defines the required field types for the specific sub-line.\n\n4\n\nNumeric\n\n\nLeg number identifier.\nThe counter starts at 1, and it increments sequentially by one unit.\n5\n\nAlphanumeric\n\n\n\nDeparture airport.\n\n6\n\nAlphanumeric\n\n\n\nFlight number.\n\n7\n\nAlphanumeric\n\n\n\nCarrier code.\n\n8\n\nAlphanumeric\n\n\n\nFare basis code.\n\n9\n\nAlphanumeric\n\n\n\nTravel class identifier.\n\n10\n\nAlphanumeric\n\n\n\nStopover code.\n\n11\n\nAlphanumeric\n\n\n\nDestination code.\n\n12\n\nAlphanumeric\n\n\n\nTravel date.\n\n13\n\nAlphanumeric\n\n\n\nDeparture tax.\n\nExample of isolated airline leg data batch file sub-line:\nSL,4,AirlineLeg,1,AMS,12345,AA,Y123456,B,O,LON,2014-08-02T19:05:00.000,Y\nExample of airline leg data batch file sub-line in a batch file context:\nFH,1.0,DEVL,Company,TestCompany,Default,27,ws@Company.TestCompany,Modification,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,CaptureWithExternalAuth,Test Product\n3,123456\nSL,1,PaymentDetails,10000,2,EUR\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456\nSL,4,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,\nSL,5,AirlinePassenger,1,Name,Miguel,Rodriguez,,,\nSL,8,ShopperInteraction,Ecommerce\nBT,1\nFT,1\nAirlinePassenger\n\nThis sub-line holds information about airline passenger information\u00a0you want to send along with batch file authorisation and capture requests.\nIf you include airline data in your request, besides at least one airline leg sub-line the batch file needs to contain at least one airline passenger sub-line as well.\nAirline data fields may have\u00a0specific\u00a0format and\/or character limitations: refer to the\u00a0airline data overview\u00a0for details.\n\nField #FormatRequiredDescription\n1\n\nFixed value: SL\n\n\n\nRecord type identifier\n\n2\n\nNumeric\n\n\n`SL` sub-line record number reference within its parent line.\nThe counter starts at 1, and it increments sequentially by one unit.\n3\n\nFixed value: AirlinePassenger\n\n\n\nTransaction type. Defines the required field types for the specific sub-line.\n\n4\n\nNumeric\n\n\nPassenger number identifier.\nThe counter starts at 1, and it increments sequentially by one unit.\n5\n\nFixed value: Name\n\n\n\nPassenger data type.\n\n6\n\nAlphanumeric\n\n\n\nPassenger's first\/given name.\n\n7\n\nAlphanumeric\n\n\n\nPassenger's last\/family name.\n\n8\nFormat: yyyy-MM-dd\nFor example: 1980-02-28\n\n\nPassenger's birth date.\n\n9\n\nAlphanumeric\n\n\nTraveller type.\nPassenger type code (PTC).\nExample of isolated airline passenger data batch file sub-line:\nSL,1,PaymentDetails,100,2,EUR,,,,,\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,5th avenue 66,100020003034,12345678,,,\nSL,4,AirlineLeg,1,AMS,12345,AA,Y123456,B,O,LON,2014-08-02T19:05:00.000,Y\nSL,5,AirlinePassenger,1,Name,John,Doe,1979-02-28,,\nExample of airline passenger data batch file sub-line in a batch file context:\nFH,1.0,DEVL,Company,TestCompany,Default,27,ws@Company.TestCompany,Modification,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,CaptureWithExternalAuth,Test Product\n3,123456\nSL,1,PaymentDetails,10000,2,EUR\nSL,2,Card,4111111111111111,6,2016,737,CardHolderName,,,\nSL,3,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456\nSL,4,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,\nSL,5,AirlinePassenger,1,Name,Miguel,Rodriguez,,,\nSL,8,ShopperInteraction,Ecommerce\nBT,1\nFT,1\nOptional sub-lines\nThe MerchantOrderReference sub-line described below can be optionally included in the payment request.\nMerchantOrderReference\nField #FormatRequiredDescription\n1\n\nFixed value: SL\n\n\n\nRecord type identifier\n\n2\n\nNumeric\n\n\n`SL` sub-line record number reference within its parent line.\nThe counter starts at 1, and it increments sequentially by one unit.\n3\n\nFixed value:\u00a0MerchantOrderReference\n\n\n\nTransaction type. Defines the required field types for the specific sub-line.\n\n4\n\nAlphanumeric\n\n\n\nValue of your order reference.\u00a0\n\nFH,1.0,TEST,Company,TestCompany,Default,2,ws@Company.TestCompany,Authorisation,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\nL,1,MerchantAccount,TestMerchant,Authorisation,Test Product 6,\nSL,1,PaymentDetails,100,2,SEK,,,,,\nSL,2,Card,4111111111111111,08,2018,737,CardHolderName,,,\nSL,3,MerchantOrderReference,XY66AB\nBT,1\nFT,1","type":"page","locale":"en","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Development resources","lvl2":"Batch processing","lvl3":"Submit transaction batch files through SFTP","lvl4":"Batch request file","lvl5":"Authorisation request file","lvl6":"Authorisation with airline data"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/development-resources","lvl2":"https:\/\/docs.adyen.com\/development-resources\/batch-processing","lvl3":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files","lvl4":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file","lvl5":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file","lvl6":"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\/authorisation-request-file\/authorisation-with-airline-data"},"levels":7,"category":"Development Resources","category_color":"green","tags":["Authorisation","airline"]}}
