---
title: "PayoutModification result file"
url: "https://docs.adyen.com/development-resources/batch-processing/advanced-sftp-batch-files/batch-result-file/payoutmodification-result-file"
source_url: "https://docs.adyen.com/development-resources/batch-processing/advanced-sftp-batch-files/batch-result-file/payoutmodification-result-file.md"
canonical: "https://docs.adyen.com/development-resources/batch-processing/advanced-sftp-batch-files/batch-result-file/payoutmodification-result-file"
last_modified: "2019-10-25T16:39:00+02:00"
language: "en"
---

# PayoutModification result file

[View source](/development-resources/batch-processing/advanced-sftp-batch-files/batch-result-file/payoutmodification-result-file.md)

When parsing or validation errors occur, the result file has the structure described in [batch result files with validation errors](/development-resources/batch-processing/advanced-sftp-batch-files/batch-result-file/modification-result-file-validationerror).

## PayoutModification 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                                            | \`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           | Alphanumeric                                       | Specifies the merchant account name.                                                                                                                                                                                                                                                                                                                         |
| 5           | Allowed values:- `PayoutConfirm`
- `PayoutDecline` | 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)](/development-resources/batch-processing/advanced-sftp-batch-files/batch-result-file/modification-result-file-validationerror) instead. |
| 6           | Alphanumeric                                       | A merchant reference, that is, a unique identifier associated to a specific transaction.                                                                                                                                                                                                                                                                     |
| 7           | Allowed values:- `Success`
- `Error`
- `Pending`   | Transaction status.A Pending status means that the modification request needs to be postponed for processing.                                                                                                                                                                                                                                                |
| 8           | Alphanumeric                                       | `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.                                                                                        |

## PayoutModification sub-line

| **Field #** | **Format**                        | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ----------- | --------------------------------- |   |
| 1           | Fixed value: `SL`                 | Record type identifier.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 2           | Numeric                           | \`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: `ModificationResult` | Result type identifier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 4           | Alphanumeric                      | The unique PSP reference identifier for this modification.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 5           | Alphanumeric                      |  The original payout PSP reference.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| 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: - Transaction not found - Transaction is expired - Insufficient balance on payment - Only possible to refund the full amount - Only possible to capture the full amount - Modification in different currency than authorisation - Internal error - Operation not available - Operation not allowed - Operation failed - Recurring not supported for this payment method - Recurring transaction failed - Recurring contract is not active - Recurring contract not found - Recurring initial payment not found - Recurring initial payment not available - Recurring contract already exists - Fund Transfer not supported for this payment method - Fund Transfer failed - Fund Transfer: initial payment not found - Fund Transfer: Original Transaction is never authorised - The payment details have expired - Fund Transfer: unable to transfer to this bankaccount - InvoiceLines are incorrect - Incomplete or invalid payment details - No suitable capture found for partial refund - Invalid referral authorisation code |

## Example

```text
FH,1.0,TEST,Company,TestCompany,Default,1,ws@Company.TestCompany,PayoutModification,FileHeaderEchoData
BH,1,BlockHeaderEchoData 
L,1,MerchantAccount,TestMerchant,PayoutConfirm,MerchantReference,Success, 
SL,1,ModificationResult,9913954058480001,9913122736590001, 
BT,1 
FT,1  
```
