{"title":"Split refunds","category":"default","creationDate":1776961627,"content":"<p>If you want to return the funds to a customer, for example, if they returned an item to your user, you need to refund the payment. When processing a refund for your user, you can split the refund amount between the balance accounts in your marketplace by including the split instructions in your refund request. This allows you to choose who is liable for the refund.<\/p>\n<h2>Requirements<\/h2>\n<p>Take into account the following requirements, limitations, and preparations for processing refunds.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong><a href=\"\/pt\/development-resources\/api-credentials\/\">API\u00a0credentials<\/a><\/strong><\/td>\n<td style=\"text-align: left;\">You must have credentials for the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Checkout API<\/a>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong><a href=\"\/pt\/development-resources\/webhooks\">Webhooks<\/a><\/strong><\/td>\n<td style=\"text-align: left;\">Ensure that your server can receive and accept <a href=\"\/pt\/development-resources\/webhooks\" target=\"&quot;_blank&quot;\">standard webhooks<\/a>.<br>Subscribe to any of the following webhooks: <ul><li markdown=\"1\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transfer-webhooks\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Transfer webhooks<\/a><\/li><li markdown=\"1\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transaction-webhooks\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Transaction webhooks<\/a><\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Limitations<\/strong><\/td>\n<td style=\"text-align: left;\">When you refund a payment, you must take into account the following:<ul><li markdown=\"1\">Some payment methods do not support partial refunds. You can check which ones support partial and multiple partial refunds in the <a href=\"\/pt\/payment-methods\">overview of payment methods<\/a>.<\/li><li markdown=\"1\">Refunds can only be deducted from the balance accounts to which the payment was credited.<\/li><li markdown=\"1\">Use the same <code>pspReference<\/code> values as in the original split.<\/li><li markdown=\"1\">You get the outcome of the refund request asynchronously, in a <a href=\"\/pt\/online-payments\/refund#refund-webhook?target=&quot;_blank&quot;\">REFUND webhook<\/a>.<\/li><\/ul><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Refund a payment<\/h2>\n<ol>\n<li>\n<p>Get the PSP reference of the original payment from either the API response, or the authorization or transfer webhooks triggered by the original payment request.<\/p>\n<\/li>\n<li>\n<p>Make a POST  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/refunds\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/{paymentPspReference}\/refunds<\/a> request, specifying the PSP reference of the original payment in the path.<\/p>\n<p>In the body of the request, include the following fields:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: center;\">Required<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/refunds#request-amount\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">amount<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/required\/required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">The amount that you want to refund.<br><ul><li markdown=\"1\">The <code>value<\/code> must be the same, or, in case of a partial refund, less than the captured amount.<\/li><li markdown=\"1\">The <code>currency<\/code> must match the currency used in the payment authorization.<\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/refunds#request-merchantAccount\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">merchantAccount<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/required\/required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">The unique identifier of the merchant account where you want to process the payment.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/refunds#request-reference\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">reference<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">Your reference for the refund, for example, to tag a partial refund for future reconciliation.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/refunds#request-splits\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splits<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Recommended\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Recommended\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/recommended\/recommended.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">The array of objects specifying how to split the payment. For partial refunds, we strongly recommend that you <strong>always<\/strong> provide split instructions in your request. If you do not send split instructions in your request for total refunds, the funds are deducted according to the split ratio of the payment authorization.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following tabs show you examples for refund requests: one where you specify the split instructions, and another where you send the request without them.<\/p>\n\n<div id=\"taby3x8R\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;Refund with split instructions (recommended)&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;For each item in the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\\/(paymentPspReference)\\\/refunds#request-splits\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;splits&lt;\\\/a&gt; array of your POST  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\\/(paymentPspReference)\\\/refunds\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments\\\/{paymentPspReference}\\\/refunds&lt;\\\/a&gt; request, specify the following fields:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: center;\\&quot;&gt;Required&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;code&gt;account&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;span class=\\&quot;hint--bottom\\&quot; data-hint=\\&quot;Required\\&quot; markdown=\\&quot;1\\&quot;&gt;&lt;img style=\\&quot;width: 25px;\\&quot; alt=\\&quot;Required\\&quot; src=\\&quot;\\\/user\\\/pages\\\/reuse\\\/image-library\\\/01.icons\\\/required\\\/required.svg?decoding=auto&amp;amp;fetchpriority=auto\\&quot; \\\/&gt;&lt;\\\/span&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Your user&#039;s or your platform&#039;s &lt;code&gt;balanceAccountId&lt;\\\/code&gt;, from which you want to deduct the specified &lt;code&gt;amount&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;code&gt;amount.currency&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;span class=\\&quot;hint--bottom\\&quot; data-hint=\\&quot;Conditionally required\\&quot; markdown=\\&quot;1\\&quot;&gt;&lt;img style=\\&quot;width: 25px;\\&quot; alt=\\&quot;Conditionally required\\&quot; src=\\&quot;\\\/user\\\/pages\\\/reuse\\\/image-library\\\/01.icons\\\/conditionally-required\\\/conditionally-required.svg?decoding=auto&amp;amp;fetchpriority=auto\\&quot; \\\/&gt;&lt;\\\/span&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Required if you want to refund the payment in a different currency from the original payment&#039;s currency&lt;br&gt;The currency of the part of the refund you want to deduct from the specified &lt;code&gt;account&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;code&gt;amount.value&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;span class=\\&quot;hint--bottom\\&quot; data-hint=\\&quot;Required\\&quot; markdown=\\&quot;1\\&quot;&gt;&lt;img style=\\&quot;width: 25px;\\&quot; alt=\\&quot;Required\\&quot; src=\\&quot;\\\/user\\\/pages\\\/reuse\\\/image-library\\\/01.icons\\\/required\\\/required.svg?decoding=auto&amp;amp;fetchpriority=auto\\&quot; \\\/&gt;&lt;\\\/span&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The value of the part of the refund you want to deduct from the specified &lt;code&gt;account&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;code&gt;type&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;span class=\\&quot;hint--bottom\\&quot; data-hint=\\&quot;Required\\&quot; markdown=\\&quot;1\\&quot;&gt;&lt;img style=\\&quot;width: 25px;\\&quot; alt=\\&quot;Required\\&quot; src=\\&quot;\\\/user\\\/pages\\\/reuse\\\/image-library\\\/01.icons\\\/required\\\/required.svg?decoding=auto&amp;amp;fetchpriority=auto\\&quot; \\\/&gt;&lt;\\\/span&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The part of the refund you want to book to the specified &lt;code&gt;account&lt;\\\/code&gt;.&lt;br&gt;Possible values:&lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;BalanceAccount&lt;\\\/strong&gt;: deducts the specified &lt;code&gt;amount&lt;\\\/code&gt; from the specified balance account.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;Commission&lt;\\\/strong&gt;: deducts the amount of your platform&#039;s commission for the original payment from your &lt;a href=\\&quot;\\\/pt\\\/marketplaces\\\/account-structure-resources#resources-1\\&quot;&gt;liable balance account&lt;\\\/a&gt;.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;AdyenMarkup&lt;\\\/strong&gt;: deducts the transaction fee due to Adyen under &lt;a href=\\&quot;https:\\\/\\\/www.adyen.com\\\/knowledge-hub\\\/get-the-best-from-your-card-processing\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;blended rates&lt;\\\/a&gt; from the specified balance account.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;AdyenCommission&lt;\\\/strong&gt;: deducts the transaction fee due to Adyen under &lt;a href=\\&quot;https:\\\/\\\/www.adyen.com\\\/pricing\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;Interchange ++ pricing&lt;\\\/a&gt; from the specified balance account.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;PaymentFee&lt;\\\/strong&gt; or &lt;strong&gt;AdyenFees&lt;\\\/strong&gt;: deducts the aggregated amount of Adyen&#039;s commission and markup fees from the specified balance account. By default, all fees deducted from your platform&#039;s liable balance account.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;Remainder&lt;\\\/strong&gt;: The amount left over after a currency conversion, booked to the specified account..&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;code&gt;reference&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;span class=\\&quot;hint--bottom\\&quot; data-hint=\\&quot;Conditionally required\\&quot; markdown=\\&quot;1\\&quot;&gt;&lt;img style=\\&quot;width: 25px;\\&quot; alt=\\&quot;Conditionally required\\&quot; src=\\&quot;\\\/user\\\/pages\\\/reuse\\\/image-library\\\/01.icons\\\/conditionally-required\\\/conditionally-required.svg?decoding=auto&amp;amp;fetchpriority=auto\\&quot; \\\/&gt;&lt;\\\/span&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Required if &lt;code&gt;type&lt;\\\/code&gt; is &lt;strong&gt;BalanceAccount&lt;\\\/strong&gt;&lt;br&gt;Your unique identifier for the part of the refund you want to deduct from the specified &lt;code&gt;account&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;p&gt;Here is an example of the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\\/(paymentPspReference)\\\/refunds\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments\\\/{paymentPspReference}\\\/refunds&lt;\\\/a&gt; request where you provide the split instructions in the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\\/(paymentPspReference)\\\/refunds#request-splits\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;splits&lt;\\\/a&gt; array:&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;Split a refund with different data&#039;\\&quot; :id=\\&quot;&#039;split-refund&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments\\\\\\\/CWBC43ZX2VTFWR82\\\\\\\/refunds \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-X POST \\\\\\\\\\\\n-d &#039;{\\\\n   \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n   \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n   \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;value\\\\&amp;quot;: 8000,\\\\n      \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;USD\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;splits\\\\&amp;quot;: [\\\\n      {\\\\n         \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n             \\\\&amp;quot;value\\\\&amp;quot;: 400\\\\n         },\\\\n         \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;Commission\\\\&amp;quot;,\\\\n         \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;Your reference for your commission\\\\&amp;quot;\\\\n      },\\\\n      {\\\\n         \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n             \\\\&amp;quot;value\\\\&amp;quot;: 7600\\\\n         },\\\\n         \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;BalanceAccount\\\\&amp;quot;,\\\\n         \\\\&amp;quot;account\\\\&amp;quot;: \\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;,\\\\n         \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;\\\\n      }\\\\n   ]\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v40.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nSplitAmount splitAmount1 = new SplitAmount()\\\\n  .value(400L);\\\\n\\\\nSplitAmount splitAmount2 = new SplitAmount()\\\\n  .value(7600L);\\\\n\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;USD\\\\&amp;quot;)\\\\n  .value(8000L);\\\\n\\\\nSplit split1 = new Split()\\\\n  .reference(\\\\&amp;quot;Your reference for your commission\\\\&amp;quot;)\\\\n  .amount(splitAmount1)\\\\n  .type(Split.TypeEnum.COMMISSION);\\\\n\\\\nSplit split2 = new Split()\\\\n  .reference(\\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;)\\\\n  .amount(splitAmount2)\\\\n  .type(Split.TypeEnum.BALANCEACCOUNT)\\\\n  .account(\\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;);\\\\n\\\\nPaymentRefundRequest paymentRefundRequest = new PaymentRefundRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;)\\\\n  .amount(amount)\\\\n  .splits(Arrays.asList(split1, split2))\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nModificationsApi service = new ModificationsApi(client);\\\\nPaymentRefundResponse response = service.refundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;&amp;lt;?php\\\\n\\\\\\\/\\\\\\\/ Adyen PHP API Library v28.3.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Split;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\SplitAmount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRefundRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\ModificationsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$splitAmount1 = new SplitAmount();\\\\n$splitAmount1\\\\n  -&amp;gt;setValue(400);\\\\n\\\\n$splitAmount2 = new SplitAmount();\\\\n$splitAmount2\\\\n  -&amp;gt;setValue(7600);\\\\n\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;USD\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(8000);\\\\n\\\\n$split1 = new Split();\\\\n$split1\\\\n  -&amp;gt;setReference(\\\\&amp;quot;Your reference for your commission\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($splitAmount1)\\\\n  -&amp;gt;setType(\\\\&amp;quot;Commission\\\\&amp;quot;);\\\\n\\\\n$split2 = new Split();\\\\n$split2\\\\n  -&amp;gt;setReference(\\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($splitAmount2)\\\\n  -&amp;gt;setType(\\\\&amp;quot;BalanceAccount\\\\&amp;quot;)\\\\n  -&amp;gt;setAccount(\\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;);\\\\n\\\\n$paymentRefundRequest = new PaymentRefundRequest();\\\\n$paymentRefundRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setSplits(array($split1, $split2))\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new ModificationsApi($client);\\\\n$response = $service-&amp;gt;refundCapturedPayment(&#039;paymentPspReference&#039;, $paymentRefundRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .NET API Library v32.2.1\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nSplitAmount splitAmount1 = new SplitAmount\\\\n{\\\\n  Value = 400\\\\n};\\\\n\\\\nSplitAmount splitAmount2 = new SplitAmount\\\\n{\\\\n  Value = 7600\\\\n};\\\\n\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;USD\\\\&amp;quot;,\\\\n  Value = 8000\\\\n};\\\\n\\\\nSplit split1 = new Split\\\\n{\\\\n  Reference = \\\\&amp;quot;Your reference for your commission\\\\&amp;quot;,\\\\n  Amount = splitAmount1,\\\\n  Type = Split.TypeEnum.Commission\\\\n};\\\\n\\\\nSplit split2 = new Split\\\\n{\\\\n  Reference = \\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;,\\\\n  Amount = splitAmount2,\\\\n  Type = Split.TypeEnum.BalanceAccount,\\\\n  Account = \\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;\\\\n};\\\\n\\\\nPaymentRefundRequest paymentRefundRequest = new PaymentRefundRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  Amount = amount,\\\\n  Splits = new List&amp;lt;Split&amp;gt;{ split1, split2 },\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new ModificationsService(client);\\\\nvar response = service.RefundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v30.0.0\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst config = new Config({\\\\n  apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  environment: EnvironmentEnum.TEST\\\\n});\\\\n\\\\nconst client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRefundRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  amount: {\\\\n    value: 8000,\\\\n    currency: \\\\&amp;quot;USD\\\\&amp;quot;\\\\n  },\\\\n  splits: [ {\\\\n    amount: {\\\\n      value: 400\\\\n    },\\\\n    type: \\\\&amp;quot;Commission\\\\&amp;quot;,\\\\n    reference: \\\\&amp;quot;Your reference for the commission\\\\&amp;quot;\\\\n  }, {\\\\n    amount: {\\\\n      value: 7600\\\\n    },\\\\n    type: \\\\&amp;quot;BalanceAccount\\\\&amp;quot;,\\\\n    account: \\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;,\\\\n    reference: \\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;\\\\n  } ]\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.ModificationsApi.refundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v21.1.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nsplitAmount1 := checkout.SplitAmount{\\\\n  Value: 400,\\\\n}\\\\n\\\\nsplitAmount2 := checkout.SplitAmount{\\\\n  Value: 7600,\\\\n}\\\\n\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;USD\\\\&amp;quot;,\\\\n  Value: 8000,\\\\n}\\\\n\\\\nsplit1 := checkout.Split{\\\\n  Reference: common.PtrString(\\\\&amp;quot;Your reference for your commission\\\\&amp;quot;),\\\\n  Amount: &amp;amp;splitAmount1,\\\\n  Type: \\\\&amp;quot;Commission\\\\&amp;quot;,\\\\n}\\\\n\\\\nsplit2 := checkout.Split{\\\\n  Reference: common.PtrString(\\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;),\\\\n  Amount: &amp;amp;splitAmount2,\\\\n  Type: \\\\&amp;quot;BalanceAccount\\\\&amp;quot;,\\\\n  Account: common.PtrString(\\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;),\\\\n}\\\\n\\\\npaymentRefundRequest := checkout.PaymentRefundRequest{\\\\n  Reference: common.PtrString(\\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;),\\\\n  Amount: amount,\\\\n  Splits: []checkout.Split{\\\\n      split1, split2,\\\\n  },\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.ModificationsApi.RefundCapturedPaymentInput(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;).IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRefundRequest(paymentRefundRequest)\\\\nres, httpRes, err := service.ModificationsApi.RefundCapturedPayment(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v14.0.0\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 8000,\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;USD\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;splits\\\\&amp;quot;: [ {\\\\n    \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;value\\\\&amp;quot;: 400\\\\n    },\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;Commission\\\\&amp;quot;,\\\\n    \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;Your reference for your commission\\\\&amp;quot;\\\\n  }, {\\\\n    \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;value\\\\&amp;quot;: 7600\\\\n    },\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;BalanceAccount\\\\&amp;quot;,\\\\n    \\\\&amp;quot;account\\\\&amp;quot;: \\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;,\\\\n    \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;\\\\n  } ]\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.modifications_api.refund_captured_payment(request=json_request, paymentPspReference=\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v11.0.0\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :reference =&amp;gt; &#039;YOUR_REFERENCE_NUMBER&#039;,\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;,\\\\n  :amount =&amp;gt; {\\\\n    :value =&amp;gt; 8000,\\\\n    :currency =&amp;gt; &#039;USD&#039;\\\\n  },\\\\n  :splits =&amp;gt; [ {\\\\n    :amount =&amp;gt; {\\\\n      :value =&amp;gt; 400\\\\n    },\\\\n    :type =&amp;gt; &#039;Commission&#039;,\\\\n    :reference =&amp;gt; &#039;Your reference for your commission&#039;\\\\n  }, {\\\\n    :amount =&amp;gt; {\\\\n      :value =&amp;gt; 7600\\\\n    },\\\\n    :type =&amp;gt; &#039;BalanceAccount&#039;,\\\\n    :account =&amp;gt; &#039;BA00000000000000000000001&#039;,\\\\n    :reference =&amp;gt; &#039;Your reference for the refund amount&#039;\\\\n  } ]\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.modifications_api.refund_captured_payment(request_body, &#039;paymentPspReference&#039;, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v30.0.0\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst config = new Config({\\\\n  apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  environment: EnvironmentEnum.TEST\\\\n});\\\\n\\\\nconst client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst splitAmount1: Types.checkout.SplitAmount = {\\\\n  value: 400\\\\n};\\\\n\\\\nconst splitAmount2: Types.checkout.SplitAmount = {\\\\n  value: 7600\\\\n};\\\\n\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;USD\\\\&amp;quot;,\\\\n  value: 8000\\\\n};\\\\n\\\\nconst split1: Types.checkout.Split = {\\\\n  reference: \\\\&amp;quot;Your reference for your commission\\\\&amp;quot;,\\\\n  amount: splitAmount1,\\\\n  type: Types.checkout.Split.TypeEnum.Commission\\\\n};\\\\n\\\\nconst split2: Types.checkout.Split = {\\\\n  reference: \\\\&amp;quot;Your reference for the refund amount\\\\&amp;quot;,\\\\n  amount: splitAmount2,\\\\n  type: Types.checkout.Split.TypeEnum.BalanceAccount,\\\\n  account: \\\\&amp;quot;BA00000000000000000000001\\\\&amp;quot;\\\\n};\\\\n\\\\nconst paymentRefundRequest: Types.checkout.PaymentRefundRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  amount: amount,\\\\n  splits: [split1, split2],\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.ModificationsApi.refundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:&quot;refund-with-split&quot;,&quot;oldTabId&quot;:&quot;refund-with-split_1&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;Use split instructions from payment authorization&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;If you want to use the same split ratio for the refund as you did for the payment, you can send the refund request without specifying the split instructions. The funds are deducted according the split instructions in the payment authorization, &lt;em&gt;not&lt;\\\/em&gt; the capture. In this scenario:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;The refund amount is the same as the original payment amount.&lt;\\\/li&gt;\\n&lt;li&gt;The payment authorization contained split instructions.&lt;\\\/li&gt;\\n&lt;li&gt;You want to debit the amount based on the original split.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;If the payment authorization didn&#039;t contain split instructions, the full refund amount is debited from your liable balance account.&lt;\\\/p&gt;\\n&lt;p&gt;To split a refund using the original split ratio, send a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\\/(paymentPspReference)\\\/refunds\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments\\\/{paymentPspReference}\\\/refunds&lt;\\\/a&gt; request without the &lt;code&gt;splits&lt;\\\/code&gt; array.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;Split a refund according to the original split ratio&#039;\\&quot; :id=\\&quot;&#039;split-refund-original-data&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments\\\\\\\/CWBC43ZX2VTFWR82\\\\\\\/refunds \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-X POST \\\\\\\\\\\\n-d &#039;{\\\\n   \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n   \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n   \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;value\\\\&amp;quot;: 8000,\\\\n      \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;USD\\\\&amp;quot;\\\\n   }\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v40.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;USD\\\\&amp;quot;)\\\\n  .value(8000L);\\\\n\\\\nPaymentRefundRequest paymentRefundRequest = new PaymentRefundRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;)\\\\n  .amount(amount)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nModificationsApi service = new ModificationsApi(client);\\\\nPaymentRefundResponse response = service.refundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;&amp;lt;?php\\\\n\\\\\\\/\\\\\\\/ Adyen PHP API Library v28.3.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRefundRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\ModificationsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;USD\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(8000);\\\\n\\\\n$paymentRefundRequest = new PaymentRefundRequest();\\\\n$paymentRefundRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new ModificationsApi($client);\\\\n$response = $service-&amp;gt;refundCapturedPayment(&#039;paymentPspReference&#039;, $paymentRefundRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .NET API Library v32.2.1\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;USD\\\\&amp;quot;,\\\\n  Value = 8000\\\\n};\\\\n\\\\nPaymentRefundRequest paymentRefundRequest = new PaymentRefundRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  Amount = amount,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new ModificationsService(client);\\\\nvar response = service.RefundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v30.0.0\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst config = new Config({\\\\n  apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  environment: EnvironmentEnum.TEST\\\\n});\\\\n\\\\nconst client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRefundRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  amount: {\\\\n    value: 8000,\\\\n    currency: \\\\&amp;quot;USD\\\\&amp;quot;\\\\n  }\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.ModificationsApi.refundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v21.1.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;USD\\\\&amp;quot;,\\\\n  Value: 8000,\\\\n}\\\\n\\\\npaymentRefundRequest := checkout.PaymentRefundRequest{\\\\n  Reference: common.PtrString(\\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;),\\\\n  Amount: amount,\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.ModificationsApi.RefundCapturedPaymentInput(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;).IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRefundRequest(paymentRefundRequest)\\\\nres, httpRes, err := service.ModificationsApi.RefundCapturedPayment(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v14.0.0\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 8000,\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;USD\\\\&amp;quot;\\\\n  }\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.modifications_api.refund_captured_payment(request=json_request, paymentPspReference=\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v11.0.0\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :reference =&amp;gt; &#039;YOUR_REFERENCE_NUMBER&#039;,\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;,\\\\n  :amount =&amp;gt; {\\\\n    :value =&amp;gt; 8000,\\\\n    :currency =&amp;gt; &#039;USD&#039;\\\\n  }\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.modifications_api.refund_captured_payment(request_body, &#039;paymentPspReference&#039;, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v30.0.0\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst config = new Config({\\\\n  apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  environment: EnvironmentEnum.TEST\\\\n});\\\\n\\\\nconst client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;USD\\\\&amp;quot;,\\\\n  value: 8000\\\\n};\\\\n\\\\nconst paymentRefundRequest: Types.checkout.PaymentRefundRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_REFERENCE_NUMBER\\\\&amp;quot;,\\\\n  amount: amount,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.ModificationsApi.refundCapturedPayment(\\\\&amp;quot;paymentPspReference\\\\&amp;quot;, paymentRefundRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:&quot;refund-original-split-data&quot;,&quot;oldTabId&quot;:&quot;refund-original-split-data_2&quot;,&quot;relation&quot;:&quot;&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<\/li>\n<li>\n<p>Listen to the <a href=\"\/pt\/online-payments\/refund\/#refund-webhook?target=&quot;_blank&quot;\">REFUND webhook<\/a> for the outcome of the refund request.<\/p>\n<\/li>\n<\/ol>\n<h3>Troubleshooting<\/h3>\n<p>The API request validates only the format of the split instructions, <strong>not<\/strong> the balance accounts specified in the request. This means that even if the transaction is successful, it is possible that the funds are not credited to\/deducted from the specified balance account. If the balance account does not exist, or it is linked to an account holder with a <strong>closed<\/strong>  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/balanceplatform\/latest\/post\/accountHolders#responses-200-status\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">status<\/a>, the full transaction and its fees are booked to your marketplace's liable balance account.<\/p>\n<p>To correct the balances, you can <a href=\"\/pt\/marketplaces\/internal-fund-transfers\">transfer the funds<\/a> between the balance accounts in your marketplace.<\/p>\n<h2>Track fund movements<\/h2>\n<p>To track the status of the funds transfers initiated by a refund:<\/p>\n<ol>\n<li>Listen to the following webhooks:\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transfer-webhooks\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Transfer webhooks<\/a>: Adyen sends a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transfer-webhooks\/latest\/post\/balancePlatform.transfer.created\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">balancePlatform.transfer.created<\/a> webhook to inform your server that funds will be credited to balance accounts, and  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transfer-webhooks\/latest\/post\/balancePlatform.transfer.updated\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">balancePlatform.transfer.updated<\/a> webhooks after every status change.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transaction-webhooks\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Transaction webhooks<\/a>: Adyen sends a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transaction-webhooks\/latest\/post\/balancePlatform.transaction.created\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">balancePlatform.transaction.created<\/a> webhook to inform your server that funds have been credited to a balance account.<\/li>\n<\/ul><\/li>\n<li>Acknowledge the webhooks. We send these webhooks for every split item in the payment.<\/li>\n<li>In the payload of the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transfer-webhooks\/latest\/post\/balancePlatform.transfer.updated\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">balancePlatform.transfer.updated<\/a> webhook, note that:\n<ul>\n<li>The <code>event<\/code> array includes all previous transfer events.<\/li>\n<li>The <code>sequenceNumber<\/code> defines the number of webhooks sent for the transfer, including the current one.<\/li>\n<\/ul><\/li>\n<\/ol>\n<h3>Examples<\/h3>\n<p>Your server receives webhooks for each split of the refund amount. The following examples are based on a <a href=\"\/pt\/marketplaces\/split-transactions\/split-refunds?tab=1#refund-a-payment\">refund request with split instructions<\/a> use case.<\/p>\n\n<div id=\"tabU3xA2\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;Refund amount&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;You can identify refund-related transfer webhooks for the refunded sale amount by the following values:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Value&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-category\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;category&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the category of the transfer.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;platformPayment&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-direction\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;direction&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The direction of the transfer based on the balance account.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;outgoing&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-type\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;type&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the type of the transfer.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;refund&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-platformPaymentType\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;platformPaymentType&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the nature of each transfer on the balance platform. This parameter helps categorize transfers so you can reconcile transactions at a later time using the &lt;a href=\\&quot;\\\/pt\\\/marketplaces\\\/reports-and-fees\\\/balance-platform-accounting-report\\\/\\&quot;&gt;Balance Platform Accounting Report&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;BalanceAccount&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-pspPaymentReference\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;pspPaymentReference&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The &lt;a href=\\&quot;\\\/pt\\\/get-started-with-adyen\\\/adyen-glossary#psp-reference\\&quot;&gt;PSP reference&lt;\\\/a&gt; of the associated payment.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;CWBC43ZX2VTFWR82&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-modificationPspReference\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;modificationPspReference&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The PSP reference of the payment modification, in this case the refund.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;QFQTPCQ8HXSKGK82&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n    &lt;div class=\\&quot;faqs\\&quot;&gt;\\n        &lt;div class=\\&quot;adl-accordion adl-accordion--max-height-transition\\&quot; style=\\&quot;margin-bottom:24px\\&quot;&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;1\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#1-outgoing-transfer-received\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                1. Outgoing transfer received &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When a refund request is received to deduct funds from your user&#039;s balance account, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.created&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;received&lt;\\\/strong&gt; and &lt;code&gt;direction&lt;\\\/code&gt; &lt;strong&gt;outgoing&lt;\\\/strong&gt;. The webhook provides information about the transfer, such as the original payment and split references and which user and balance account is debited.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer received&#039;\\&quot; :id=\\&quot;&#039;received-refund-ba1&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 7600\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: -7600\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;BalanceAccount\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the refund amount\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -7600\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;3JERI65VWKBRFIVB\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the refund amount\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 1,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.created\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;2\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#2-outgoing-transfer-authorized\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                2. Outgoing transfer authorized &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the transfer request is authorized, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.updated\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.updated&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;authorised&lt;\\\/strong&gt;.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer authorised&#039;\\&quot; :id=\\&quot;&#039;authorised-refund-ba1&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 7600\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                \\\\\\&quot;reserved\\\\\\&quot;: -7600\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;BalanceAccount\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the refund amount\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -7600\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN00000000000000000000000002\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 7600,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: -7600\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;3JERI65VWKBRFIVB\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the refund amount\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 2,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.updated\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;3\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#3-outgoing-transfer-refunded\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                3. Outgoing transfer refunded &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the funds are deducted from your user&#039;s balance account, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.updated\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.updated&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;refunded&lt;\\\/strong&gt; and the &lt;code&gt;transactionId&lt;\\\/code&gt;.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer refunded&#039;\\&quot; :id=\\&quot;&#039;refunded-ba1&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 7600\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;balance\\\\\\&quot;: -7600,\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                \\\\\\&quot;reserved\\\\\\&quot;: 0\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;BalanceAccount\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the refund amount\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -7600\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN00000000000000000000000002\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 7600,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: -7600\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:20+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN00000000000000000000000003\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;balance\\\\\\&quot;: -7600,\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: 7600\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;refunded\\\\\\&quot;,\\\\n                \\\\\\&quot;transactionId\\\\\\&quot;: \\\\\\&quot;EVJN42272224222B5JB8BRC84N686ZUSD\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;,\\\\n                \\\\\\&quot;valueDate\\\\\\&quot;: \\\\\\&quot;2025-10-22T00:00:00+02:00\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;3JERI65VWKBRFIVB\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the refund amount\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 3,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;refunded\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.updated\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;4\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#4-transaction-booked\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                4. Transaction booked &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the funds are deducted, Adyen also sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transaction-webhooks\\\/latest\\\/post\\\/balancePlatform.transaction.created\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transaction.created&lt;\\\/a&gt; webhook, which includes information about the related transaction.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transaction created&#039;\\&quot; :id=\\&quot;&#039;refunded-transaction-ba1&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN42272224222B5JB8BRC84N686ZUSD\\\\\\&quot;,\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;value\\\\\\&quot;: -7600,\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;booked\\\\\\&quot;,\\\\n        \\\\\\&quot;transfer\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;3JERI65VWKBRFIVB\\\\\\&quot;,\\\\n            \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n                \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n                \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n                \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n                \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;BalanceAccount\\\\\\&quot;,\\\\n                \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n            },\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the refund amount\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;valueDate\\\\\\&quot;: \\\\\\&quot;2025-10-22T00:00:00+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:20+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transaction.created\\\\\\&quot;,\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n    &lt;\\\/div&gt;\\n\\n&quot;,&quot;altTitle&quot;:&quot;refund-ba1&quot;,&quot;oldTabId&quot;:&quot;refund-ba1_1&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;Transaction fees&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;You can identify refund-related transfer webhooks for the refunded transaction fees by the following values:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Value&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-category\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;category&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the category of the transfer.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;platformPayment&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-direction\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;direction&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The direction of the transfer based on the balance account.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;outgoing&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-type\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;type&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the type of the transfer.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;refund&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-platformPaymentType\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;platformPaymentType&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the nature of each transfer on the balance platform. This parameter helps categorize transfers so you can reconcile transactions at a later time using the &lt;a href=\\&quot;\\\/pt\\\/marketplaces\\\/reports-and-fees\\\/balance-platform-accounting-report\\\/\\&quot;&gt;Balance Platform Accounting Report&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;PaymentFee&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-pspPaymentReference\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;pspPaymentReference&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The &lt;a href=\\&quot;\\\/pt\\\/get-started-with-adyen\\\/adyen-glossary#psp-reference\\&quot;&gt;PSP reference&lt;\\\/a&gt; of the associated payment.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;CWBC43ZX2VTFWR82&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-modificationPspReference\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;modificationPspReference&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The PSP reference of the payment modification, in this case the refund.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;QFQTPCQ8HXSKGK82&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n    &lt;div class=\\&quot;faqs\\&quot;&gt;\\n        &lt;div class=\\&quot;adl-accordion adl-accordion--max-height-transition\\&quot; style=\\&quot;margin-bottom:24px\\&quot;&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;1\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#1-outgoing-transfer-received\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                1. Outgoing transfer received &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;Once the transaction fees are calculated for the refund, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.created&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;received&lt;\\\/strong&gt; and &lt;code&gt;direction&lt;\\\/code&gt; &lt;strong&gt;outgoing&lt;\\\/strong&gt;. The webhook provides information about the transfer, such as the original payment and split references and which user and balance account is debited.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer received&#039;\\&quot; :id=\\&quot;&#039;received-refund-transaction-fee&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 344\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the second balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000002\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the second balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: -344\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;PaymentFee\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the payment fee\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BHTP00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -344\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;8KREG78BWDNEKXHW\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the payment fee\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 1,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.created\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;2\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#2-outgoing-transfer-authorized\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                2. Outgoing transfer authorized &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the transfer request is authorized, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.updated\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.updated&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;authorised&lt;\\\/strong&gt;.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer authorised&#039;\\&quot; :id=\\&quot;&#039;authorised-refund-transction-fees&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 344\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the second balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000002\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the second balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                \\\\\\&quot;reserved\\\\\\&quot;: -344\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;PaymentFee\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the payment fee\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BHTP00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -344\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BHTP00000000000000000000000002\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 344,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: -344\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;8KREG78BWDNEKXHW\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the payment fee\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 2,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.updated\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;3\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#3-outgoing-transfer-refunded\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                3. Outgoing transfer refunded &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the funds are deducted from your user&#039;s balance account, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.updated\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.updated&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;refunded&lt;\\\/strong&gt; and the &lt;code&gt;transactionId&lt;\\\/code&gt;.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer refunded&#039;\\&quot; :id=\\&quot;&#039;refunded-transaction-fees&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 344\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the second balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000002\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the second balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;balance\\\\\\&quot;: -344,\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                \\\\\\&quot;reserved\\\\\\&quot;: 0\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;PaymentFee\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the payment fee\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BHTP00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -344\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BHTP00000000000000000000000002\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 344,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: -344\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:20+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BHTP00000000000000000000000003\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;balance\\\\\\&quot;: -344,\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: 344\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;refunded\\\\\\&quot;,\\\\n                \\\\\\&quot;transactionId\\\\\\&quot;: \\\\\\&quot;EVJN42272224222B5JB8BRC84N686ZUSD\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;,\\\\n                \\\\\\&quot;valueDate\\\\\\&quot;: \\\\\\&quot;2025-10-22T00:00:00+02:00\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;8KREG78BWDNEKXHW\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the payment fee\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 3,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;refunded\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.updated\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;4\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#4-transaction-booked\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                4. Transaction booked &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the funds are deducted, Adyen also sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transaction-webhooks\\\/latest\\\/post\\\/balancePlatform.transaction.created\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transaction.created&lt;\\\/a&gt; webhook, which includes information about the related transaction.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transaction created&#039;\\&quot; :id=\\&quot;&#039;refunded-fee-transaction&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN42272224222B5JB8BRC84N686ZUSD\\\\\\&quot;,\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;value\\\\\\&quot;: -344,\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;booked\\\\\\&quot;,\\\\n        \\\\\\&quot;transfer\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;3JERI65VWKBRFIVB\\\\\\&quot;,\\\\n            \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n                \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n                \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n                \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n                \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;PaymentFee\\\\\\&quot;,\\\\n                \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n            },\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the payment fee\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;valueDate\\\\\\&quot;: \\\\\\&quot;2025-10-22T00:00:00+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:20+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transaction.created\\\\\\&quot;,\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n    &lt;\\\/div&gt;\\n\\n&quot;,&quot;altTitle&quot;:&quot;refund-transaction-fees&quot;,&quot;oldTabId&quot;:&quot;refund-transaction-fees_2&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;Commission&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;You can identify refund-related transfer webhooks for the refunded commission by the following values:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Value&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-category\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;category&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the category of the transfer.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;platformPayment&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-direction\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;direction&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The direction of the transfer based on the balance account.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;outgoing&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-type\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;type&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the type of the transfer.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;refund&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-platformPaymentType\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;platformPaymentType&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Specifies the nature of each transfer on the balance platform. This parameter helps categorize transfers so you can reconcile transactions at a later time using the &lt;a href=\\&quot;\\\/pt\\\/marketplaces\\\/reports-and-fees\\\/balance-platform-accounting-report\\\/\\&quot;&gt;Balance Platform Accounting Report&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;Commission&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-pspPaymentReference\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;pspPaymentReference&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The &lt;a href=\\&quot;\\\/pt\\\/get-started-with-adyen\\\/adyen-glossary#psp-reference\\&quot;&gt;PSP reference&lt;\\\/a&gt; of the associated payment.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;CWBC43ZX2VTFWR82&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created#request-data-categoryData-PlatformPayment-modificationPspReference\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;modificationPspReference&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The PSP reference of the payment modification, in this case the refund.&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;&lt;strong&gt;QFQTPCQ8HXSKGK82&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n    &lt;div class=\\&quot;faqs\\&quot;&gt;\\n        &lt;div class=\\&quot;adl-accordion adl-accordion--max-height-transition\\&quot; style=\\&quot;margin-bottom:24px\\&quot;&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;1\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#1-outgoing-transfer-received\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                1. Outgoing transfer received &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When a refund request is received to deduct funds from your liable balance account, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.created\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.created&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;received&lt;\\\/strong&gt; and &lt;code&gt;direction&lt;\\\/code&gt; &lt;strong&gt;outgoing&lt;\\\/strong&gt;. The webhook provides information about the transfer, such as the original payment and split references.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer received&#039;\\&quot; :id=\\&quot;&#039;received-refund-liable&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your liable account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000002\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your liable account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 400\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your liable balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000003\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your liable balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: -400\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;Commission\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your commission\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;HFJR00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -400\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;7JHRI65VWKBRFPMG\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your commission\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 1,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.created\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;2\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#2-outgoing-transfer-authorized\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                2. Outgoing transfer authorized &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the transfer request is authorized, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.updated\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.updated&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;authorised&lt;\\\/strong&gt;.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer authorized&#039;\\&quot; :id=\\&quot;&#039;authorized-refund-liable&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your liable account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000002\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your liable account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 400\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your liable balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000003\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your liable balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                \\\\\\&quot;reserved\\\\\\&quot;: -400\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;Commission\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your commission\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;HFJR00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -400\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;HFJR00000000000000000000000002\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 400,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: -400\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;7JHRI65VWKBRFPMG\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your commission\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 2,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.updated\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;3\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#3-outgoing-transfer-refunded\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                3. Outgoing transfer refunded &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the funds are deducted from your liable account, Adyen sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transfer-webhooks\\\/latest\\\/post\\\/balancePlatform.transfer.updated\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transfer.updated&lt;\\\/a&gt; webhook with &lt;code&gt;status&lt;\\\/code&gt; &lt;strong&gt;refunded&lt;\\\/strong&gt; and the &lt;code&gt;transactionId&lt;\\\/code&gt;.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transfer refunded&#039;\\&quot; :id=\\&quot;&#039;refunded-liable&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your liable account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000002\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your liable account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 400\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your liable balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000003\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your liable balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;,\\\\n        \\\\\\&quot;balances\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;balance\\\\\\&quot;: -400,\\\\n                \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                \\\\\\&quot;reserved\\\\\\&quot;: 0\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;category\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;,\\\\n        \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n            \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n            \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n            \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n            \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;Commission\\\\\\&quot;,\\\\n            \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n            \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for your commission\\\\\\&quot;,\\\\n        \\\\\\&quot;direction\\\\\\&quot;: \\\\\\&quot;outgoing\\\\\\&quot;,\\\\n        \\\\\\&quot;events\\\\\\&quot;: [\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;HFJR00000000000000000000000001\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: -400\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;received\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:18+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;HFJR00000000000000000000000002\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 400,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: -400\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;authorised\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;\\\\n            },\\\\n            {\\\\n                \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:20+02:00\\\\\\&quot;,\\\\n                \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;HFJR00000000000000000000000003\\\\\\&quot;,\\\\n                \\\\\\&quot;mutations\\\\\\&quot;: [\\\\n                    {\\\\n                        \\\\\\&quot;balance\\\\\\&quot;: -400,\\\\n                        \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;,\\\\n                        \\\\\\&quot;received\\\\\\&quot;: 0,\\\\n                        \\\\\\&quot;reserved\\\\\\&quot;: 400\\\\n                    }\\\\n                ],\\\\n                \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;refunded\\\\\\&quot;,\\\\n                \\\\\\&quot;transactionId\\\\\\&quot;: \\\\\\&quot;EVJN42272224222B5JB8BRC84N686ZUSD\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;accounting\\\\\\&quot;,\\\\n                \\\\\\&quot;valueDate\\\\\\&quot;: \\\\\\&quot;2025-10-22T00:00:00+02:00\\\\\\&quot;\\\\n            }\\\\n        ],\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;7JHRI65VWKBRFPMG\\\\\\&quot;,\\\\n        \\\\\\&quot;reason\\\\\\&quot;: \\\\\\&quot;approved\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your commission\\\\\\&quot;,\\\\n        \\\\\\&quot;sequenceNumber\\\\\\&quot;: 3,\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;refunded\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;refund\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;,\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transfer.updated\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                                                            &lt;div class=\\&quot;adl-accordion__item\\&quot;&gt;\\n                    &lt;div tabindex=\\&quot;4\\&quot; role=\\&quot;question\\&quot; aria-expanded=\\&quot;true\\&quot; class=\\&quot;adl-accordion__header\\&quot; data-accordion=\\&quot;#4-transaction-booked\\&quot;&gt;\\n                        &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n                        &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot;&gt;\\n                            &lt;h3 class=\\&quot;adl-accordion__title no-anchor\\&quot;&gt;\\n                                4. Transaction booked &lt;div class=\\&quot;faq-link-icon adl-icon adl-icon-chain\\&quot;&gt;&lt;\\\/div&gt;\\n                            &lt;\\\/h3&gt;\\n                                                    &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                    &lt;div role=\\&quot;answer\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n                        &lt;p&gt;When the funds are deducted, Adyen also sends a  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/transaction-webhooks\\\/latest\\\/post\\\/balancePlatform.transaction.created\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;balancePlatform.transaction.created&lt;\\\/a&gt; webhook, which includes information about the related transaction.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Transaction created&#039;\\&quot; :id=\\&quot;&#039;refunded-transaction&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;data\\\\\\&quot;: {\\\\n        \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;EVJN42272224222B5JB8BRC84N686ZUSD\\\\\\&quot;,\\\\n        \\\\\\&quot;amount\\\\\\&quot;: {\\\\n            \\\\\\&quot;value\\\\\\&quot;: -400,\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;USD\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;status\\\\\\&quot;: \\\\\\&quot;booked\\\\\\&quot;,\\\\n        \\\\\\&quot;transfer\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;7JHRI65VWKBRFPMG\\\\\\&quot;,\\\\n            \\\\\\&quot;categoryData\\\\\\&quot;: {\\\\n                \\\\\\&quot;modificationMerchantReference\\\\\\&quot;: \\\\\\&quot;MRef#000001\\\\\\&quot;,\\\\n                \\\\\\&quot;modificationPspReference\\\\\\&quot;: \\\\\\&quot;QFQTPCQ8HXSKGK82\\\\\\&quot;,\\\\n                \\\\\\&quot;paymentMerchantReference\\\\\\&quot;: \\\\\\&quot;Payment reference\\\\\\&quot;,\\\\n                \\\\\\&quot;platformPaymentType\\\\\\&quot;: \\\\\\&quot;Commission\\\\\\&quot;,\\\\n                \\\\\\&quot;pspPaymentReference\\\\\\&quot;: \\\\\\&quot;CWBC43ZX2VTFWR82\\\\\\&quot;,\\\\n                \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;platformPayment\\\\\\&quot;\\\\n            },\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for your commission\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;valueDate\\\\\\&quot;: \\\\\\&quot;2025-10-22T00:00:00+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;bookingDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:20+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;creationDate\\\\\\&quot;: \\\\\\&quot;2025-10-20T13:30:05+02:00\\\\\\&quot;,\\\\n        \\\\\\&quot;accountHolder\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;AH00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the account holder\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the account holder\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balanceAccount\\\\\\&quot;: {\\\\n            \\\\\\&quot;id\\\\\\&quot;: \\\\\\&quot;BA00000000000000000000001\\\\\\&quot;,\\\\n            \\\\\\&quot;description\\\\\\&quot;: \\\\\\&quot;Your description for the balance account\\\\\\&quot;,\\\\n            \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;Your reference for the balance account\\\\\\&quot;\\\\n        },\\\\n        \\\\\\&quot;balancePlatform\\\\\\&quot;: \\\\\\&quot;YOUR_BALANCE_PLATFORM\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;balancePlatform.transaction.created\\\\\\&quot;,\\\\n    \\\\\\&quot;environment\\\\\\&quot;: \\\\\\&quot;test\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n                &lt;\\\/div&gt;\\n                    &lt;\\\/div&gt;\\n    &lt;\\\/div&gt;\\n\\n&quot;,&quot;altTitle&quot;:&quot;refund-liable&quot;,&quot;oldTabId&quot;:&quot;refund-liable_3&quot;,&quot;relation&quot;:&quot;&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2>Additional split instructions<\/h2>\n<p>The above examples show you how to:<\/p>\n<ul>\n<li>Deduct the sale amount from your user's balance account (using <code>type<\/code> <strong>BalanceAccount<\/strong>).<\/li>\n<li>Deduct the commission from your liable balance account (using <code>type<\/code> <strong>Commission<\/strong>).<\/li>\n<\/ul>\n<p>This is the standard use case for most refunds. However, you can additionally extend your split instructions to cover more specific use cases.<\/p>\n<h3>Remainder after currency conversion<\/h3>\n<p>When you process refunds on behalf of your users, you can convert the currency of those refunds. Due to the constantly fluctuating exchange rates, you may have a leftover amount after currency conversion, called a <strong>Remainder<\/strong>. You can book this remainder to the balance account of your choice.<\/p>\n<p>For more information about currency conversion and booking the remainder, see <a href=\"\/pt\/marketplaces\/currency-conversion#convert-the-currency-of-a-refund\">Currency conversion<\/a>.<\/p>\n<h2>See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/marketplaces\/transaction-fees\"\n                        target=\"_self\"\n                        >\n                    Handle transaction fees\n                <\/a><\/li><li><a href=\"\/marketplaces\/currency-conversion\"\n                        target=\"_self\"\n                        >\n                    Convert the currency of a transaction\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/marketplaces\/split-transactions\/split-refunds","articleFields":{"description":"Learn how to split the funds in a refund.","feedback_component":true,"id":"25142904","type":"page","_expandable":null,"operations":"","status":"current","filters_component":false,"parameters":{"directoryPath":"\/marketplaces","model":"marketplace"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/marketplaces\/split-transactions\/split-refunds","title":"Split refunds","content":"If you want to return the funds to a customer, for example, if they returned an item to your user, you need to refund the payment. When processing a refund for your user, you can split the refund amount between the balance accounts in your marketplace by including the split instructions in your refund request. This allows you to choose who is liable for the refund.\nRequirements\nTake into account the following requirements, limitations, and preparations for processing refunds.\n\n\n\nRequirement\nDescription\n\n\n\n\nAPI\u00a0credentials\nYou must have credentials for the  Checkout API.\n\n\nWebhooks\nEnsure that your server can receive and accept standard webhooks.Subscribe to any of the following webhooks:  Transfer webhooks Transaction webhooks\n\n\nLimitations\nWhen you refund a payment, you must take into account the following:Some payment methods do not support partial refunds. You can check which ones support partial and multiple partial refunds in the overview of payment methods.Refunds can only be deducted from the balance accounts to which the payment was credited.Use the same pspReference values as in the original split.You get the outcome of the refund request asynchronously, in a REFUND webhook.\n\n\n\nRefund a payment\n\n\nGet the PSP reference of the original payment from either the API response, or the authorization or transfer webhooks triggered by the original payment request.\n\n\nMake a POST  \/payments\/{paymentPspReference}\/refunds request, specifying the PSP reference of the original payment in the path.\nIn the body of the request, include the following fields:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\n amount\n\nThe amount that you want to refund.The value must be the same, or, in case of a partial refund, less than the captured amount.The currency must match the currency used in the payment authorization.\n\n\n merchantAccount\n\nThe unique identifier of the merchant account where you want to process the payment.\n\n\n reference\n\nYour reference for the refund, for example, to tag a partial refund for future reconciliation.\n\n\n splits\n\nThe array of objects specifying how to split the payment. For partial refunds, we strongly recommend that you always provide split instructions in your request. If you do not send split instructions in your request for total refunds, the funds are deducted according to the split ratio of the payment authorization.\n\n\n\nThe following tabs show you examples for refund requests: one where you specify the split instructions, and another where you send the request without them.\n\n\n    \n        \n        \n    \n\n\n\n\nListen to the REFUND webhook for the outcome of the refund request.\n\n\nTroubleshooting\nThe API request validates only the format of the split instructions, not the balance accounts specified in the request. This means that even if the transaction is successful, it is possible that the funds are not credited to\/deducted from the specified balance account. If the balance account does not exist, or it is linked to an account holder with a closed  status, the full transaction and its fees are booked to your marketplace's liable balance account.\nTo correct the balances, you can transfer the funds between the balance accounts in your marketplace.\nTrack fund movements\nTo track the status of the funds transfers initiated by a refund:\n\nListen to the following webhooks:\n\n Transfer webhooks: Adyen sends a  balancePlatform.transfer.created webhook to inform your server that funds will be credited to balance accounts, and  balancePlatform.transfer.updated webhooks after every status change.\n Transaction webhooks: Adyen sends a  balancePlatform.transaction.created webhook to inform your server that funds have been credited to a balance account.\n\nAcknowledge the webhooks. We send these webhooks for every split item in the payment.\nIn the payload of the  balancePlatform.transfer.updated webhook, note that:\n\nThe event array includes all previous transfer events.\nThe sequenceNumber defines the number of webhooks sent for the transfer, including the current one.\n\n\nExamples\nYour server receives webhooks for each split of the refund amount. The following examples are based on a refund request with split instructions use case.\n\n\n    \n        \n        \n    \n\n\nAdditional split instructions\nThe above examples show you how to:\n\nDeduct the sale amount from your user's balance account (using type BalanceAccount).\nDeduct the commission from your liable balance account (using type Commission).\n\nThis is the standard use case for most refunds. However, you can additionally extend your split instructions to cover more specific use cases.\nRemainder after currency conversion\nWhen you process refunds on behalf of your users, you can convert the currency of those refunds. Due to the constantly fluctuating exchange rates, you may have a leftover amount after currency conversion, called a Remainder. You can book this remainder to the balance account of your choice.\nFor more information about currency conversion and booking the remainder, see Currency conversion.\nSee also\n\n\n                    Handle transaction fees\n                \n                    Convert the currency of a transaction\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Marketplaces","lvl2":"Split transactions between balance accounts","lvl3":"Split refunds"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/marketplaces","lvl2":"https:\/\/docs.adyen.com\/pt\/marketplaces\/split-transactions","lvl3":"\/pt\/marketplaces\/split-transactions\/split-refunds"},"levels":4,"category":"Marketplaces","category_color":"green","tags":["Split","refunds"]}}
