Payout result file

Payout line

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

Field #

Format

Description

1

Fixed value: L

Record type identifier

2

Numeric [0-9]+

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

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

4

Alphabetic data [A-Z, a-z]

Specifies the merchant account name.

5

Allowed values:
  • Payout

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

6

Alphabetic data [A-Z, a-z]

A unique identifier associated to a specific transaction.

7

Allowed values:

  • Received
  • Success
  • Error

Transaction status.

8

Alphabetic data [A-Z, a-z]

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.

Payout sub-line

PayoutResult

 This sub-line holds information about payout request responses.

Field #

Format

Description

1

Fixed value: SL

Record type identifier.

2

Numeric [0-9]+

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

Result type identifier.

4

Numeric [0-9]+

The unique PSP reference identifier for this modification.

5 Alphabetic data [A-Z, a-z] Result code, if available.
6 Numeric [0-9]+

If the original payout request executed a StoreToken operation as well, this is the unique PSP reference identifier for the stored token.

7 Alphabetic data [A-Z, a-z] If the original payout request executed a StoreToken operation as well, this is the result code of the StoreToken operation, if available.

StoreTokenResult

 This sub-line holds information about  StoreToken operation results.

Field #

Format

Description

1

Fixed value: SL

Record type identifier.

2

Numeric [0-9]+

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

Result type identifier.

4

Numeric [0-9]+

The unique PSP reference identifier for this modification.

5 Alphabetic data [A-Z, a-z] Result code, if available.

Example Payout result file
FH,1.0,TEST,Company,TestCompany,Default,1,ws@Company.TestCompany,Payout,FileHeaderEchoData 
BH,1,BlockHeaderEchoData 
L,1,MerchantAccount,TestMerchant,Payout,MerchantReference,Received, 
SL,1,PayoutResult,9913958242217674,[payout-submit-received],9913958242210018,Success 
L,2,MerchantAccount,TestMerchant,StoreToken,MerchantReference,Success, 
SL,1,StoreTokenResult,9913952404820409,Success
BT,2 
FT,1