This topic describes the structure of a result file in case of a successful modification. When parsing or validation errors occur, the result file has the structure described in batch result files with validation errors.
Modification line
The line record [L] holds the metadata information that applies to its corresponding sub-line [SL] records.
Field # | Format | Description |
---|---|---|
1 |
Fixed value: |
Record type identifier. |
2 |
Numeric | `L` line record number reference within the batch file block it belongs to. |
3 |
Fixed value: |
Account type. |
4 |
Alphanumeric |
Specifies the merchant account name. |
5 |
Allowed values:
|
Processing type. If the column shows |
6 |
Alphanumeric |
A merchant reference, that is, a unique identifier associated to a specific transaction. This field is populated and is returned if an optional merchant reference value is included in the corresponding request file. |
7 |
Allowed values:
| Transaction status.
A Pending status means that the modification request needs to be postponed for processing.
|
8 |
Alphanumeric |
|
Modification sub-line
Field # | Format | Description |
---|---|---|
1 |
Fixed value: |
Record type identifier. |
2 |
Numeric | `SL` sub-line record number reference within its parent line. |
3 |
Fixed value: | Result type identifier. |
4 |
Alphanumeric | The unique PSP reference identifier for this modification. |
5 |
Alphanumeric |
The unique PSP reference identifier for the original payment authorisation. |
6 | Alphabetic |
When the payment is not authorised, it is refused, or if an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. Possible error messages:
|
Example
FH,1.0,TEST,Company,TestCompany,Default,1,ws@Company.TestCompany,Modification,FileHeaderEchoData
BH,1,BlockHeaderEchoData
L,1,MerchantAccount,TestMerchant,Capture,9874560210158741,Success,
SL,1,ModificationResult,9874560210158741,9248732154865245,
L,2,MerchantAccount,TestMerchant,Capture,9541236985175236,Error,EchoData1
SL,1,ModificationResult,9541236985175236,9248732154851572,Transaction not found
L,3,MerchantAccount,TestMerchant,Refund,95412367785175236,Error,EchoData2
SL,1,ModificationResult,95412367785175236,9358752154851572,Insufficient balance on payment
BT,3
FT,1