When you send a capture request with a batch file submission, you can include airline data information.
To do so, you append the relevant airline data as sub-lines to the payment capture requests.
Airline data sub-lines
Below you can find an overview of the airline data sub-lines you can pass with capture batch file requests.
Airline
This sub-line holds information about airline data information you want to send along with batch file authorisation and capture requests.
Airline data fields may have specific format and/or character limitations: refer to the airline data overview for details.
Field # | Format | Required | Description |
---|---|---|---|
1 |
Fixed value: |
Record type identifier | |
2 |
Numeric | `SL` sub-line record number reference within its parent line. | |
3 |
Fixed value: |
Transaction type. | |
4 |
Alphanumeric |
Customer reference identifier/number. | |
5 |
Alphanumeric |
Airline code. | |
6 |
Alphanumeric |
Airline designator code. | |
7 |
Alphanumeric |
Ticket issue address. | |
8 |
Alphanumeric |
Ticket number. | |
9 |
Alphanumeric |
Travel agency code. | |
10 |
Alphanumeric |
Travel agency name. | |
11 |
Alphanumeric |
Agency plan name. | |
12 |
Alphanumeric |
Agency invoice number. |
Example of isolated airline data batch file sub-line:
SL,2,Airline,BVQT04,074,KL,5th avenue 66,100020003034,12345678,,,,
Example of airline data batch file sub-line in a batch file context:
FH,1.0,TEST,Company,TestCompany,Default,3,ws@Company.TestCompany,Modification,FileHeaderEchoData
BH,1,BlockHeaderEchoData
L,1,MerchantAccount,TestMerchant,Capture,Test Product 3,EchoData
SL,1,Capture,9145754231690158,100,2,EUR
SL,2,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456
SL,3,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,
SL,4,AirlinePassenger,1,Name,Miguel,Rodriguez,,,
SL,5,ShopperInteraction,Ecommerce
SL,6,AuthorisationData,eci,1234
BT,1
FT,1
AirlineLeg
This sub-line holds information about airline leg information you want to send along with batch file authorisation and capture requests.
If you include airline data in your request, the batch file needs to contain at least one airline leg sub-line as well.
Airline data fields may have specific format and/or character limitations: refer to the airline data overview for details.
Field # | Format | Required | Description |
---|---|---|---|
1 |
Fixed value: |
Record type identifier | |
2 |
Numeric | `SL` sub-line record number reference within its parent line. | |
3 |
Fixed value: |
Transaction type. | |
4 |
Numeric | Leg number identifier. The counter starts at 1, and it increments sequentially by one unit. | |
5 |
Alphanumeric |
Departure airport. | |
6 |
Alphanumeric |
Flight number. | |
7 |
Alphanumeric |
Carrier code. | |
8 |
Alphanumeric | ||
9 |
Alphanumeric |
Travel class identifier. | |
10 |
Alphanumeric |
Stopover code. | |
11 |
Alphanumeric |
Destination code. | |
12 |
Alphanumeric |
Travel date. | |
13 |
Alphanumeric |
Example isolated airline leg data batch file sub-line:
SL,3,AirlineLeg,1,AMS,12345,AA,Y123456,B,O,LON,2014-08-02T19:05:00.000,Y
Example airline leg data batch file sub-line in a batch file context:
FH,1.0,TEST,Company,TestCompany,Default,3,ws@Company.TestCompany,Modification,FileHeaderEchoData
BH,1,BlockHeaderEchoData
L,1,MerchantAccount,TestMerchant,Capture,Test Product 3,EchoData
SL,1,Capture,9145754231690158,100,2,EUR
SL,2,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456
SL,3,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,
SL,4,AirlinePassenger,1,Name,Miguel,Rodriguez,,,
SL,5,ShopperInteraction,Ecommerce
SL,6,AuthorisationData,eci,1234
BT,1
FT,1
AirlinePassenger
This sub-line holds information about airline passenger information you want to send along with batch file authorisation and capture requests.
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.
Airline data fields may have specific format and/or character limitations: refer to the airline data overview for details.
Field # | Format | Required | Description |
---|---|---|---|
1 |
Fixed value: |
Record type identifier | |
2 |
Numeric | `SL` sub-line record number reference within its parent line. | |
3 |
Fixed value: |
Transaction type. | |
4 |
Numeric | Passenger number identifier. The counter starts at 1, and it increments sequentially by one unit. | |
5 |
Fixed value: |
Passenger data type. | |
6 |
Alphanumeric |
Passenger's first/given name. | |
7 |
Alphanumeric |
Passenger's last/family name. | |
8 | Format: |
Passenger's birth date. | |
9 |
Alphanumeric | Traveller type. Passenger type code (PTC). |
Example of isolated airline passenger data batch file sub-line:
SL,4,AirlinePassenger,1,Name,John,Doe,1979-02-28,,
Example of airline passenger data batch file sub-line in a batch file context::
FH,1.0,TEST,Company,TestCompany,Default,3,ws@Company.TestCompany,Modification,FileHeaderEchoData
BH,1,BlockHeaderEchoData
L,1,MerchantAccount,TestMerchant,Capture,Test Product 3,EchoData
SL,1,Capture,9145754231690158,100,2,EUR
SL,2,Airline,BVQT04,074,KL,C1,ABCDEF123456,A1B2C3D4,Adyen-Air,AP,123456
SL,3,AirlineLeg,1,AMS,FL123,AA,1,B,A,LND,2025-01-01 10:00,,
SL,4,AirlinePassenger,1,Name,Miguel,Rodriguez,,,
SL,5,ShopperInteraction,Ecommerce
SL,6,AuthorisationData,eci,1234
BT,1
FT,1