{"title":"Payout result file","category":"default","creationDate":1779533780,"content":"<p>When parsing or validation errors occur, the result file has the structure described in <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/modification-result-file-validationerror\">batch result files with validation errors<\/a>.<\/p>\n<h2 id=\"payout-line\">Payout line<\/h2>\n<p>The line record\u00a0[L] holds the metadata information that applies to its corresponding sub-line [SL] records.<\/p>\n<table><thead><tr class=\"header\"><th><p><strong>Field #<\/strong><\/p><\/th><th><p><strong>Format<\/strong><\/p><\/th><th><p><strong>Description<\/strong><\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>L<\/code><\/p>\n<\/td><td>\n<p>Record type identifier<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td><p>`L` line record number reference within the batch file block it belongs to.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/p><\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Fixed value: <code>MerchantAccount<\/code><\/p>\n<\/td><td>\n<p>Account type.<br \/>\nDefines the type of account the transactions are related to.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>Specifies the merchant account name.<\/p>\n<\/td><\/tr><tr><td>\n<p>5<\/p>\n<\/td><td>\n<p>Allowed values:<\/p>\n<ul>\n<li><code>Payout<\/code><\/li>\n<\/ul>\n<\/td><td>\n<p>Processing type.<br \/>\nDefines the type of action that is required for the specified transaction.<\/p>\n<div class=\"notices blue\">\n<p>If the column shows <code>ValidationError<\/code>, then the file shall have the structure of the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/modification-result-file-validationerror\">batch result file (ValidationError)<\/a> instead.<\/p>\n<\/div>\n<\/td><\/tr><tr><td>\n<p>6<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>A merchant reference, that is, a unique identifier associated to a specific transaction.<\/p>\n<\/td><\/tr><tr><td>\n<p>7<\/p>\n<\/td><td>\n<p>Allowed values:<ul><li markdown=\"1\"><code>Received<\/code><\/li><li markdown=\"1\"><code>Success<\/code><\/li><li markdown=\"1\"><code>Error<\/code><\/li><\/ul><\/p>\n<\/td><td><p>Transaction status.  <br>\n<\/p><\/td><\/tr><tr><td>\n<p>8<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p><code>EchoData<\/code><br>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\u00a0Adyen payments platform does not use this data.<br>Maximum character length: 80 characters.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h2 id=\"payout-sub-line\">Payout sub-line<\/h2>\n<h3 id=\"payoutresult\">PayoutResult<\/h3>\n<div class=\"sc-notice info\"><div>\n<p>This sub-line holds information about payout request responses.<\/p>\n<\/div><\/div>\n<table><thead><tr class=\"header\"><th><p><strong>Field #<\/strong><\/p><\/th><th><p><strong>Format<\/strong><\/p><\/th><th><p><strong>Description<\/strong><\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>SL<\/code><\/p>\n<\/td><td>\n<p>Record type identifier.<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td><p>`SL` sub-line record number reference within its parent line.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/p><\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Fixed value: <code>PayoutResult<\/code><\/p>\n<\/td><td>\n<p>Result type identifier.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>The unique PSP reference identifier for this modification.<\/p>\n<\/td><\/tr><tr><td>\n<p>5<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>Result code, if available.<\/p>\n<\/td><\/tr><tr><td>\n<p>6<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>If the original payout request executed a\u00a0<code>StoreToken<\/code> operation as well, this is the\u00a0unique PSP reference identifier for the stored token.<\/p>\n<\/td><\/tr><tr><td>\n<p>7<\/p>\n<\/td><td>\n<p>Alphabetic<\/p>\n<\/td><td>\n<p>If the original payout request executed a\u00a0<code>StoreToken<\/code> operation as well, this is the result code of the\u00a0<code>StoreToken<\/code> operation, if available.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h3 id=\"storetokenresult\">StoreTokenResult<\/h3>\n<div class=\"sc-notice info\"><div>\n<p>This sub-line holds information about\u00a0<code>StoreToken<\/code> operation results.<\/p>\n<\/div><\/div>\n<table><thead><tr class=\"header\"><th><p><strong>Field #<\/strong><\/p><\/th><th><p><strong>Format<\/strong><\/p><\/th><th><p><strong>Description<\/strong><\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>SL<\/code><\/p>\n<\/td><td>\n<p>Record type identifier.<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td><p>`SL` sub-line record number reference within its parent line.<br>\nThe counter starts at 1, and it increments sequentially by one unit.<\/p><\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Fixed value: <code>StoreTokenResult<\/code><\/p>\n<\/td><td>\n<p>Result type identifier.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>The unique PSP reference identifier for this modification.<\/p>\n<\/td><\/tr><tr><td>\n<p>5<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>Result code, if available.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<pre><code class=\"language-text\">FH,1.0,TEST,Company,TestCompany,Default,1,ws@Company.TestCompany,Payout,FileHeaderEchoData \nBH,1,BlockHeaderEchoData \nL,1,MerchantAccount,TestMerchant,Payout,MerchantReference,Received, \nSL,1,PayoutResult,9913958242217674,[payout-submit-received],9913958242210018,Success \nL,2,MerchantAccount,TestMerchant,StoreToken,MerchantReference,Success, \nSL,1,StoreTokenResult,9913952404820409,Success\nBT,2 \nFT,1 <\/code><\/pre>","url":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/payout-result-file","articleFields":{"id":"24216672","type":"page","_expandable":{"operations":""},"status":"current","last_edit_on":"25-10-2019 16:39"},"algolia":{"url":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/payout-result-file","title":"Payout result file","content":"When parsing or validation errors occur, the result file has the structure described in batch result files with validation errors.\nPayout line\nThe line record\u00a0[L] holds the metadata information that applies to its corresponding sub-line [SL] records.\nField #FormatDescription\n1\n\nFixed value: L\n\nRecord type identifier\n\n2\n\nNumeric\n`L` line record number reference within the batch file block it belongs to.\nThe counter starts at 1, and it increments sequentially by one unit.\n3\n\nFixed value: MerchantAccount\n\nAccount type.\nDefines the type of account the transactions are related to.\n\n4\n\nAlphanumeric\n\nSpecifies the merchant account name.\n\n5\n\nAllowed values:\n\nPayout\n\n\nProcessing type.\nDefines the type of action that is required for the specified transaction.\n\nIf the column shows ValidationError, then the file shall have the structure of the batch result file (ValidationError) instead.\n\n\n6\n\nAlphanumeric\n\nA merchant reference, that is, a unique identifier associated to a specific transaction.\n\n7\n\nAllowed values:ReceivedSuccessError\nTransaction status.  \n\n8\n\nAlphanumeric\n\nEchoDataIn 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\u00a0Adyen payments platform does not use this data.Maximum character length: 80 characters.\n\nPayout sub-line\nPayoutResult\n\nThis sub-line holds information about payout request responses.\n\nField #FormatDescription\n1\n\nFixed value: SL\n\nRecord type identifier.\n\n2\n\nNumeric\n`SL` sub-line record number reference within its parent line.\nThe counter starts at 1, and it increments sequentially by one unit.\n3\n\nFixed value: PayoutResult\n\nResult type identifier.\n\n4\n\nAlphanumeric\n\nThe unique PSP reference identifier for this modification.\n\n5\n\nAlphanumeric\n\nResult code, if available.\n\n6\n\nAlphanumeric\n\nIf the original payout request executed a\u00a0StoreToken operation as well, this is the\u00a0unique PSP reference identifier for the stored token.\n\n7\n\nAlphabetic\n\nIf the original payout request executed a\u00a0StoreToken operation as well, this is the result code of the\u00a0StoreToken operation, if available.\n\nStoreTokenResult\n\nThis sub-line holds information about\u00a0StoreToken operation results.\n\nField #FormatDescription\n1\n\nFixed value: SL\n\nRecord type identifier.\n\n2\n\nNumeric\n`SL` sub-line record number reference within its parent line.\nThe counter starts at 1, and it increments sequentially by one unit.\n3\n\nFixed value: StoreTokenResult\n\nResult type identifier.\n\n4\n\nAlphanumeric\n\nThe unique PSP reference identifier for this modification.\n\n5\n\nAlphanumeric\n\nResult code, if available.\n\nFH,1.0,TEST,Company,TestCompany,Default,1,ws@Company.TestCompany,Payout,FileHeaderEchoData \nBH,1,BlockHeaderEchoData \nL,1,MerchantAccount,TestMerchant,Payout,MerchantReference,Received, \nSL,1,PayoutResult,9913958242217674,[payout-submit-received],9913958242210018,Success \nL,2,MerchantAccount,TestMerchant,StoreToken,MerchantReference,Success, \nSL,1,StoreTokenResult,9913952404820409,Success\nBT,2 \nFT,1 ","type":"page","locale":"en","boost":15,"hierarchy":{"lvl0":"Home","lvl1":"Development resources","lvl2":"Batch processing","lvl3":"Submit transaction batch files through SFTP","lvl4":"Batch result file","lvl5":"Payout result file"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/development-resources","lvl2":"https:\/\/docs.adyen.com\/development-resources\/batch-processing","lvl3":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files","lvl4":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file","lvl5":"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/payout-result-file"},"levels":6,"category":"Development Resources","category_color":"green","tags":["Payout","result"]}}
