When parsing or validation errors occur, the result file has the structure described in batch result files with validation errors.
Authorisation 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 |
Fixed value: |
Processing type. If the column shows |
6 |
Alphanumeric |
A merchant reference, that is, a unique identifier associated to a specific transaction. |
7 |
Allowed values:
| Transaction status. |
8 |
Alphanumeric |
|
Authorisation 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 original payment PSP reference. |
5 |
[A-Za-z0-9.-? ]+ |
Authorisation code:
|
6 |
Alphanumeric | Result code, if available. |
7 | 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,206,ws@Company.TestCompany,Authorisation,FileHeaderEchoData
BH,1,BlockHeaderEchoData
L,1,MerchantAccount,TestMerchant,Authorisation,9874563210158741,Authorised,EchoData
SL,1,PaymentResult,9874563210158741,85421,100,Approved
L,2,MerchantAccount,TestMerchant,Authorisation,9874563210157874,Refused,
SL,1,PaymentResult,9874563210157874,,140,Invalid expiry date
BT,2
FT,1