No momento, esta página não está disponível em português
Tools-2 icon

Capture with airline data

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: SL

-white_check_mark-

Record type identifier

2

Numeric

-white_check_mark-

`SL` sub-line record number reference within its parent line.
The counter starts at 1, and it increments sequentially by one unit.

3

Fixed value: Airline

-white_check_mark-

Transaction type.
Defines the required field types for the specific sub-line.

4

Alphanumeric

-x-

Customer reference identifier/number.

5

Alphanumeric

-x-

Airline code.

6

Alphanumeric

-x-

Airline designator code.

7

Alphanumeric

-x-

Ticket issue address.

8

Alphanumeric

-x-

Ticket number.

9

Alphanumeric

-x-

Travel agency code.

10

Alphanumeric

-x-

Travel agency name.

11

Alphanumeric

-x-

Agency plan name.

12

Alphanumeric

-x-

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: SL

-white_check_mark-

Record type identifier

2

Numeric

-white_check_mark-

`SL` sub-line record number reference within its parent line.
The counter starts at 1, and it increments sequentially by one unit.

3

Fixed value: AirlineLeg

-white_check_mark-

Transaction type.
Defines the required field types for the specific sub-line.

4

Numeric

-white_check_mark-

Leg number identifier.
The counter starts at 1, and it increments sequentially by one unit.

5

Alphanumeric

-white_check_mark-

Departure airport.

6

Alphanumeric

-white_check_mark-

Flight number.

7

Alphanumeric

-white_check_mark-

Carrier code.

8

Alphanumeric

-white_check_mark-

Fare basis code.

9

Alphanumeric

-white_check_mark-

Travel class identifier.

10

Alphanumeric

-x-

Stopover code.

11

Alphanumeric

-white_check_mark-

Destination code.

12

Alphanumeric

-white_check_mark-

Travel date.

13

Alphanumeric

-x-

Departure tax.

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: SL

-white_check_mark-

Record type identifier

2

Numeric

-white_check_mark-

`SL` sub-line record number reference within its parent line.
The counter starts at 1, and it increments sequentially by one unit.

3

Fixed value: AirlinePassenger

-white_check_mark-

Transaction type.
Defines the required field types for the specific sub-line.

4

Numeric

-white_check_mark-

Passenger number identifier.
The counter starts at 1, and it increments sequentially by one unit.

5

Fixed value: Name

-white_check_mark-

Passenger data type.

6

Alphanumeric

-white_check_mark-

Passenger's first/given name.

7

Alphanumeric

-white_check_mark-

Passenger's last/family name.

8

Format: yyyy-MM-dd
For example: 1980-02-28

-x-

Passenger's birth date.

9

Alphanumeric

-x-

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