Tools-2 icon

Modification request file

Modification line

The line record [L] holds the metadata information that applies to its corresponding sub-line [SL] records.

Field #

Format

Required

Description

1

Fixed value: L

-white_check_mark-

Record type identifier

2

Numeric

-white_check_mark-

`L` line record number reference within the batch file block it belongs to.
The counter starts at 1, and it increments sequentially by one unit.

3

Fixed value: MerchantAccount

-white_check_mark-

Account type.
Defines the type of account the transactions are related to.

4

Alphanumeric 

-white_check_mark-

Specifies the merchant account name.

5

Allowed values:

  • AuthoriseReferral
  • Cancel
  • Capture
  • Refund
  • CancelOrRefund

-white_check_mark-

Processing type.
Defines the type of action that is required for the specified transaction.

If the column shows ValidationError, then the file shall have the structure of the batch result file (ValidationError) instead.

6

Alphanumeric

-x-

A merchant reference, that is, a unique identifier associated to a specific transaction.

As for modification requests, the merchant reference value can either:

  • Keep the same value and refer to the original payment authorisation reference. Or
  • Take a new reference value for the modification request in question.

7

Alphanumeric

-x-

EchoData
In this field you can specify any data you may want to be returned with the result file. When this field is populated, its content is returned exactly as is. The Adyen payments platform does not use this data.
Maximum character length: 80 characters.

Modification sub-lines

The number and the type of sub-lines that you need to include varies depending on the modification request you are submitting.