{"title":"Manage split configuration profiles","category":"default","creationDate":1776961628,"content":"<p>Using the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Management API<\/a>, you can view and update the following details of your split configuration profiles:<\/p>\n<ul>\n<li>Get a list of all your split configuration profiles or the details of a specific profile.<\/li>\n<li><a href=\"#create-rule\">Add a rule<\/a> to or <a href=\"#delete-rule\">remove a rule<\/a> from a profile.<\/li>\n<li>Change the <a href=\"#update-description\">description<\/a>, <a href=\"#update-condition\">conditions<\/a>, or <a href=\"#update-split-logic\">split logic<\/a> of a rule.<\/li>\n<li><a href=\"#delete-profile\">Delete a profile<\/a>.<\/li>\n<\/ul>\n<h2>Requirements<\/h2>\n<p>Take into account the following requirements, limitations, and preparations for managing split configuration profiles.<\/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>Integration type<\/strong><\/td>\n<td style=\"text-align: left;\">You must have a <a href=\"\/pt\/platforms\">platform model<\/a> integration on Adyen for Platforms.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong><a href=\"\/pt\/development-resources\/api-credentials\/roles\/\">API credential roles<\/a><\/strong><\/td>\n<td style=\"text-align: left;\">Your  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Management API<\/a> credential must have the following role: <ul><li markdown=\"1\"><strong>Management API\u2014SplitConfiguration read and write<\/strong><\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Limitations<\/strong><\/td>\n<td style=\"text-align: left;\">The card region condition is in pilot phase, and not yet available for all platforms.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Setup steps<\/strong><\/td>\n<td style=\"text-align: left;\">You must have the IDs of the resources you want to update (split configuration profile, rule, or split logic) at hand.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Get a list of all profiles<\/h2>\n<p>To get the details of all split configuration profiles in your merchant account, make a GET  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/get\/merchants\/(merchantId)\/splitConfigurations\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations<\/a> request with the ID of your merchant account in the path.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Get a list of profiles'\" :id=\"'get-list-profiles'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/{merchantId}\\\/splitConfigurations \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X GET \\\\\\n-d&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v38.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfigurationList response = service.listSplitConfigurations(\\&quot;merchantId\\&quot;, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;listSplitConfigurations('merchantId');&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v32.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.ListSplitConfigurations(\\&quot;merchantId\\&quot;);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.listSplitConfigurations(\\&quot;merchantId\\&quot;);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.ListSplitConfigurationsInput(\\&quot;merchantId\\&quot;)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.ListSplitConfigurations(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.list_split_configurations(merchantId=\\&quot;merchantId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.list_split_configurations('merchantId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.listSplitConfigurations(\\&quot;merchantId\\&quot;);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response contains the array of split configuration profiles in your merchant account.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'List of profiles'\" :id=\"'profile-list'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"data\\\": [\\n        {\\n            \\\"description\\\": \\\"Your description for the split configuration\\\",\\n            \\\"rules\\\": [\\n                {\\n                    \\\"currency\\\": \\\"GBP\\\",\\n                    \\\"fundingSource\\\": \\\"ANY\\\",\\n                    \\\"cardRegion\\\": \\\"international\\\",\\n                    \\\"paymentMethod\\\": \\\"ANY\\\",\\n                    \\\"ruleId\\\": \\\"SCRL4224P22322585HP89PPCST6BCZ\\\",\\n                    \\\"shopperInteraction\\\": \\\"ANY\\\",\\n                    \\\"splitLogic\\\": {\\n                        \\\"additionalCommission\\\": {\\n                            \\\"fixedAmount\\\": 100,\\n                            \\\"variablePercentage\\\": 100,\\n                            \\\"balanceAccountId\\\": \\\"BA3227C223222H5HQ2XX77VVH\\\"\\n                        },\\n                        \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                        \\\"commission\\\": {\\n                            \\\"fixedAmount\\\": 200,\\n                            \\\"variablePercentage\\\": 100\\n                        },\\n                        \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                        \\\"remainder\\\": \\\"addToOneBalanceAccount\\\",\\n                        \\\"splitLogicId\\\": \\\"SCLG4224P22322585HP89PPCSV27VP\\\",\\n                        \\\"tip\\\": \\\"addToOneBalanceAccount\\\"\\n                    }\\n                }\\n            ],\\n            \\\"splitConfigurationId\\\": \\\"SCNF4224P22322585HP89PPCSS24MF\\\"\\n        },\\n        {\\n            \\\"description\\\": \\\"Your description for the second split configuration\\\",\\n            \\\"rules\\\": [\\n                {\\n                    \\\"currency\\\": \\\"ANY\\\",\\n                    \\\"fundingSource\\\": \\\"ANY\\\",\\n                    \\\"cardRegion\\\": \\\"intraRegional\\\",\\n                    \\\"paymentMethod\\\": \\\"ANY\\\",\\n                    \\\"ruleId\\\": \\\"SCRL4224P22322585HPCX384JW65VW\\\",\\n                    \\\"shopperInteraction\\\": \\\"ANY\\\",\\n                    \\\"splitLogic\\\": {\\n                        \\\"additionalCommission\\\": {\\n                            \\\"fixedAmount\\\": 10,\\n                            \\\"variablePercentage\\\": 50,\\n                            \\\"balanceAccountId\\\": \\\"BA3227C223222H5HQ2XX77VVH\\\"\\n                        },\\n                        \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                        \\\"commission\\\": {\\n                            \\\"fixedAmount\\\": 10,\\n                            \\\"variablePercentage\\\": 100\\n                        },\\n                        \\\"splitLogicId\\\": \\\"SCLG4224P22322585HPCX384JX52M2\\\",\\n                        \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                        \\\"remainder\\\": \\\"addToOneBalanceAccount\\\",\\n                        \\\"tip\\\": \\\"addToOneBalanceAccount\\\"\\n                    }\\n                },\\n                {\\n                    \\\"currency\\\": \\\"USD\\\",\\n                    \\\"fundingSource\\\": \\\"ANY\\\",\\n                    \\\"cardRegion\\\": \\\"domestic\\\",\\n                    \\\"paymentMethod\\\": \\\"visa\\\",\\n                    \\\"ruleId\\\": \\\"SCRL4224P22322585HPCX5V4KV6L2R\\\",\\n                    \\\"shopperInteraction\\\": \\\"ANY\\\",\\n                    \\\"splitLogic\\\": {\\n                        \\\"additionalCommission\\\": {\\n                            \\\"fixedAmount\\\": 100,\\n                            \\\"variablePercentage\\\": 0,\\n                            \\\"balanceAccountId\\\": \\\"BA3227C223222H5HQ2XX77VVH\\\"\\n                        },\\n                        \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                        \\\"commission\\\": {\\n                            \\\"fixedAmount\\\": 100,\\n                            \\\"variablePercentage\\\": 100\\n                        },\\n                        \\\"splitLogicId\\\": \\\"SCLG4224P22322585HPCX5V4KW26C9\\\",\\n                        \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                        \\\"remainder\\\": \\\"addToLiableAccount\\\",\\n                        \\\"tip\\\": \\\"addToLiableAccount\\\"\\n                    }\\n                }\\n            ],\\n            \\\"splitConfigurationId\\\": \\\"SCNF4224P22322585HPCX384JV6JGX\\\"\\n        }\\n    ]\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2>Get profile details<\/h2>\n<p>To get the details of a specific split configuration profile, make a GET  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/get\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}<\/a> request with the ID of your merchant account and the profile in the path.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Get profile details'\" :id=\"'get-a-profile'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/{merchantId}\\\/splitConfigurations\\\/{splitConfigurationId} \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X GET \\\\\\n-d&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v38.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.getSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;getSplitConfiguration('merchantId', 'splitConfigurationId');&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v32.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.GetSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.getSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.GetSplitConfigurationInput(\\&quot;merchantId\\&quot;,\\&quot;splitConfigurationId\\&quot;)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.GetSplitConfiguration(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.get_split_configuration(merchantId=\\&quot;merchantId\\&quot;, splitConfigurationId=\\&quot;splitConfigurationId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.get_split_configuration('merchantId', 'splitConfigurationId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.getSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response contains the array of rules, conditions, and split instructions in the profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Details of the profile'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"currency\\\": \\\"ANY\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"cardRegion\\\": \\\"intraRegional\\\",\\n            \\\"paymentMethod\\\": \\\"ANY\\\",\\n            \\\"ruleId\\\": \\\"SCRL4224P22322585HPCX384JW65VW\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 50,\\n                    \\\"balanceAccountId\\\": \\\"BA3227C223222H5HQ2XX77VVH\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG4224P22322585HPCX384JX52M2\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToOneBalanceAccount\\\",\\n                \\\"tip\\\": \\\"addToOneBalanceAccount\\\"\\n            }\\n        },\\n        {\\n            \\\"currency\\\": \\\"USD\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"cardRegion\\\": \\\"domestic\\\",\\n            \\\"paymentMethod\\\": \\\"visa\\\",\\n            \\\"ruleId\\\": \\\"SCRL4224P22322585HPCX5V4KV6L2R\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 0,\\n                    \\\"balanceAccountId\\\": \\\"BA3227C223222H5HQ2XX77VVH\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG4224P22322585HPCX5V4KW26C9\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToLiableAccount\\\",\\n                \\\"tip\\\": \\\"addToLiableAccount\\\"\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF4224P22322585HPCX384JV6JGX\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"create-rule\">Add a rule<\/h2>\n<p>To add a rule to an existing split configuration profile, make a POST  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}<\/a> request with the ID of your merchant account and the profile in the path.<\/p>\n<p>In the body of the request, include the following fields:<\/p>\n<div class=\"sticky-table-container\">\n    \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\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-currency\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">currency<\/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;\">Define whether the rule applies to a specific currency, or all currencies.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-paymentMethod\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">paymentMethod<\/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;\">Define whether the rule applies to a specific payment method, or all payment methods associated with the store. You can differentiate between <a href=\"\/pt\/development-resources\/paymentmethodvariant\/\">payment method variants<\/a> as well, for example, configure different instructions for <strong>visagold<\/strong> and <strong>visasignature<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-cardRegion\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">cardRegion<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">Define whether the rule applies to transactions processed through a store that's registered in the same country\/region where the card was issued, in a different country\/region, or all transaction regardless of the processing and issuing location.<br>Possible values:<ul><li markdown=\"1\"><strong>domestic<\/strong><\/li><li markdown=\"1\"><strong>interRegional<\/strong><\/li><li markdown=\"1\"><strong>intraRegional<\/strong><\/li><li markdown=\"1\"><strong>international<\/strong><\/li><li><strong>ANY<\/strong><\/ul><div class=\"notices green\">This condition is in pilot phase, and not yet available for all platforms.<\/div><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-fundingSource\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">fundingSource<\/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;\">Define whether the rule applies only to payments initiated with a specific type of card, or all card types.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-shopperInteraction\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperInteraction<\/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;\">Define whether the rule applies to a specific sales channel, or all channels.<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic<\/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;\">Define the split logic that is applied if the rule conditions are met. For instructions, see <a href=\"#optional-configuration\">Optional configuration<\/a>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-commission\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic.commission<\/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;\">Define your platform's commission for the payments. This can be a fixed amount, a percentage, or both.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-additionalCommission\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic.additionalCommission<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">Define an additional fee as a commission for your user, booked directly to your user's balance account. This can be a fixed amount, a percentage, or both.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n<\/div>\n\n<h3>Optional configuration<\/h3>\n<p>Based on which optional parameters you include in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic<\/a> object, you can define to which balance account to book:<\/p>\n<ul>\n<li>The different types of <a href=\"#book-transaction-fees\">transaction fees<\/a> associated with the payment.<\/li>\n<li>Potential <a href=\"#book-refunds-and-chargebacks\">refunds, chargebacks, and their associated fees<\/a>.<\/li>\n<li>The <a href=\"#book-remaining-amounts\">remaining amount<\/a> after currency conversion for online payments.<\/li>\n<li>The <a href=\"#book-tips-and-surcharges\">tips and surcharges<\/a> for in-person payments.<\/li>\n<\/ul>\n<p>You can define <strong>any or all<\/strong> of these parameters in the <code>splitLogic<\/code> object of the split configuration profile.<\/p>\n<div class=\"accordion-shortcode adl-accordion adl-accordion--max-height-transition\" data-expand=\"true\" data-ignore=\"anchorjs-link\">\n    \n    <div class=\"adl-accordion__item\" style=\"\">\n        <div tabindex=\"0\" role=\"item\" aria-expanded=\"false\" class=\"adl-accordion__header\">\n            <i class=\"adl-accordion__toggle adl-icon-chevron-down\"><\/i>\n            <div class=\"adl-accordion__title-wrapper\" data-accordion=\"#book-transaction-fees\">\n                                    <h4 class=\"adl-accordion__title\">Book transaction fees<\/h4>\n                            <\/div>\n        <\/div>\n        <div role=\"region\" class=\"adl-accordion__content\">\n            \n<p>To book the <a href=\"\/pt\/platforms\/online-payments\/transaction-fees\">transaction fees<\/a> associated with the payment to different balance accounts, you must include at least one of the following parameters in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic<\/a> object:<\/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<th>Limitation<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-paymentFee\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">paymentFee<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Required if you don't send any other fee type.<br><br>Define to which balance account to book the aggregated amount of all transaction fees associated with the payment.<\/td>\n<td>Cannot be combined with any other fee type.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-adyenFees\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">adyenFees<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Required if you send <code>aquiringFees<\/code>.<br><br>Define to which balance account to book the aggregated amount of Adyen's Commission and Markup for the payment.<\/td>\n<td>Cannot be combined with fee types on a different level: <code>paymentFee<\/code>, <code>interchange<\/code>, <code>schemeFee<\/code>, <code>adyenCommission<\/code>, or <code>adyenMarkup<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-acquiringFees\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">acquiringFees<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Required if you send <code>adyenFees<\/code>.<br><br>Define to which balance account to book the aggregated amount of the Interchange and Scheme fees associated with the payment.<\/td>\n<td>Cannot be combined with fee types on a different level: <code>paymentFee<\/code>, <code>interchange<\/code>, <code>schemeFee<\/code>, <code>adyenCommission<\/code>, or <code>adyenMarkup<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-adyenCommission\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">adyenCommission<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Required if you send <code>interchange<\/code>, <code>schemeFee<\/code>, or <code>adyenMarkup<\/code>.  <br><br>Define to which balance account to book the Adyen's commission for the payment.<\/td>\n<td>Cannot be combined with fee types on a different level: <code>paymentFee<\/code>, <code>adyenFees<\/code>, or <code>aquiringFees<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-adyenMarkup\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">adyenMarkup<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Required if you send <code>interchange<\/code>, <code>schemeFee<\/code>, or <code>adyenCommission<\/code>.<br><br>Define to which balance account to book the Adyen's markup for the payment.<\/td>\n<td>Cannot be combined with fee types on a different level: <code>paymentFee<\/code>, <code>adyenFees<\/code>, or <code>aquiringFees<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-interchange\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">interchange<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Required if you send<code>schemeFee<\/code>, <code>adyenCommission<\/code>, or <code>adyenMarkup<\/code>.<br><br>Define to which balance account to book the Interchange associated with the payment.<\/td>\n<td>Cannot be combined with fee types on a different level: <code>paymentFee<\/code>, <code>adyenFees<\/code>, or <code>aquiringFees<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-schemeFee\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">schemeFee<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Required if you send<code>interchange<\/code>, <code>adyenCommission<\/code>, or <code>adyenMarkup<\/code>.<br><br>Define to which balance account to book the Scheme fees associated with the payment.<\/td>\n<td>Cannot be combined with fee types on a different level: <code>paymentFee<\/code>, <code>adyenFees<\/code>, or <code>aquiringFees<\/code>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can send the following combinations in the <code>splitLogic<\/code> array:<\/p>\n<ul>\n<li><code>paymentFee<\/code><\/li>\n<li><code>aquiringFees<\/code> and <code>adyenFees<\/code><\/li>\n<li><code>interchange<\/code>, <code>schemeFee<\/code>, <code>adyenCommission<\/code>, and <code>adyenMarkup<\/code><\/li>\n<\/ul>\n<p>For example, to create a split configuration profile that books the Interchange and Scheme fees to the user's balance account, and every other fee type to your platform's liable balance account, send the following request:<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Define split instructions for transaction fees'\" :id=\"'split-transaction-fees'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X POST \\\\\\n-d '{\\n    \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n    \\&quot;rules\\&quot;: [\\n        {\\n            \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;splitLogic\\&quot;: {\\n                \\&quot;acquiringFees\\&quot;: \\&quot;deductFromOneBalanceAccount\\&quot;,\\n                \\&quot;adyenFees\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n                \\&quot;commission\\&quot;: {\\n                    \\&quot;fixedAmount\\&quot;: 10,\\n                    \\&quot;variablePercentage\\&quot;: 100\\n                }\\n            }\\n        }\\n    ]\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v35.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission()\\n  .variablePercentage(100L)\\n  .fixedAmount(10L);\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic()\\n  .adyenFees(SplitConfigurationLogic.AdyenFeesEnum.DEDUCTFROMLIABLEACCOUNT)\\n  .acquiringFees(SplitConfigurationLogic.AcquiringFeesEnum.DEDUCTFROMONEBALANCEACCOUNT)\\n  .commission(commission1);\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule()\\n  .splitLogic(splitConfigurationLogic1)\\n  .paymentMethod(\\&quot;ANY\\&quot;)\\n  .shopperInteraction(SplitConfigurationRule.ShopperInteractionEnum.ANY)\\n  .currency(\\&quot;ANY\\&quot;)\\n  .fundingSource(SplitConfigurationRule.FundingSourceEnum.ANY);\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration()\\n  .description(\\&quot;Your description for the split configuration profile\\&quot;)\\n  .rules(Arrays.asList(splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Management\\\\Commission;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationLogic;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationRule;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$commission1 = new Commission();\\n$commission1\\n  -&gt;setVariablePercentage(100)\\n  -&gt;setFixedAmount(10);\\n\\n$splitConfigurationLogic1 = new SplitConfigurationLogic();\\n$splitConfigurationLogic1\\n  -&gt;setAdyenFees(\\&quot;deductFromLiableAccount\\&quot;)\\n  -&gt;setAcquiringFees(\\&quot;deductFromOneBalanceAccount\\&quot;)\\n  -&gt;setCommission($commission1);\\n\\n$splitConfigurationRule1 = new SplitConfigurationRule();\\n$splitConfigurationRule1\\n  -&gt;setSplitLogic($splitConfigurationLogic1)\\n  -&gt;setPaymentMethod(\\&quot;ANY\\&quot;)\\n  -&gt;setShopperInteraction(\\&quot;ANY\\&quot;)\\n  -&gt;setCurrency(\\&quot;ANY\\&quot;)\\n  -&gt;setFundingSource(\\&quot;ANY\\&quot;);\\n\\n$splitConfiguration = new SplitConfiguration();\\n$splitConfiguration\\n  -&gt;setDescription(\\&quot;Your description for the split configuration profile\\&quot;)\\n  -&gt;setRules(array($splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;createSplitConfiguration('merchantId', $splitConfiguration);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v31.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission\\n{\\n  VariablePercentage = 100,\\n  FixedAmount = 10\\n};\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic\\n{\\n  AdyenFees = SplitConfigurationLogic.AdyenFeesEnum.DeductFromLiableAccount,\\n  AcquiringFees = SplitConfigurationLogic.AcquiringFeesEnum.DeductFromOneBalanceAccount,\\n  Commission = commission1\\n};\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule\\n{\\n  SplitLogic = splitConfigurationLogic1,\\n  PaymentMethod = \\&quot;ANY\\&quot;,\\n  ShopperInteraction = SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  Currency = \\&quot;ANY\\&quot;,\\n  FundingSource = SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration\\n{\\n  Description = \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules = new List&lt;SplitConfigurationRule&gt;{ splitConfigurationRule1 }\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.CreateSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst splitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [ {\\n    paymentMethod: \\&quot;ANY\\&quot;,\\n    shopperInteraction: \\&quot;ANY\\&quot;,\\n    fundingSource: \\&quot;ANY\\&quot;,\\n    currency: \\&quot;ANY\\&quot;,\\n    splitLogic: {\\n      acquiringFees: \\&quot;deductFromOneBalanceAccount\\&quot;,\\n      adyenFees: \\&quot;deductFromLiableAccount\\&quot;,\\n      commission: {\\n        fixedAmount: 10,\\n        variablePercentage: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\ncommission1 := management.Commission{\\n  VariablePercentage: common.PtrInt64(100),\\n  FixedAmount: common.PtrInt64(10),\\n}\\n\\nsplitConfigurationLogic1 := management.SplitConfigurationLogic{\\n  AdyenFees: common.PtrString(\\&quot;deductFromLiableAccount\\&quot;),\\n  AcquiringFees: common.PtrString(\\&quot;deductFromOneBalanceAccount\\&quot;),\\n  Commission: commission1,\\n}\\n\\nsplitConfigurationRule1 := management.SplitConfigurationRule{\\n  SplitLogic: splitConfigurationLogic1,\\n  PaymentMethod: \\&quot;ANY\\&quot;,\\n  ShopperInteraction: \\&quot;ANY\\&quot;,\\n  Currency: \\&quot;ANY\\&quot;,\\n  FundingSource: common.PtrString(\\&quot;ANY\\&quot;),\\n}\\n\\nsplitConfiguration := management.SplitConfiguration{\\n  Description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules: []management.SplitConfigurationRule{\\n      splitConfigurationRule1,\\n  },\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.CreateSplitConfigurationInput(\\&quot;merchantId\\&quot;).SplitConfiguration(splitConfiguration)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.CreateSplitConfiguration(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n  \\&quot;rules\\&quot;: [ {\\n    \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;splitLogic\\&quot;: {\\n      \\&quot;acquiringFees\\&quot;: \\&quot;deductFromOneBalanceAccount\\&quot;,\\n      \\&quot;adyenFees\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n      \\&quot;commission\\&quot;: {\\n        \\&quot;fixedAmount\\&quot;: 10,\\n        \\&quot;variablePercentage\\&quot;: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request=json_request, merchantId=\\&quot;merchantId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :description =&gt; 'Your description for the split configuration profile',\\n  :rules =&gt; [ {\\n    :paymentMethod =&gt; 'ANY',\\n    :shopperInteraction =&gt; 'ANY',\\n    :fundingSource =&gt; 'ANY',\\n    :currency =&gt; 'ANY',\\n    :splitLogic =&gt; {\\n      :acquiringFees =&gt; 'deductFromOneBalanceAccount',\\n      :adyenFees =&gt; 'deductFromLiableAccount',\\n      :commission =&gt; {\\n        :fixedAmount =&gt; 10,\\n        :variablePercentage =&gt; 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request_body, 'merchantId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst commission1: Types.management.Commission = {\\n  variablePercentage: 100,\\n  fixedAmount: 10\\n};\\n\\nconst splitConfigurationLogic1: Types.management.SplitConfigurationLogic = {\\n  adyenFees: Types.management.SplitConfigurationLogic.AdyenFeesEnum.DeductFromLiableAccount,\\n  acquiringFees: Types.management.SplitConfigurationLogic.AcquiringFeesEnum.DeductFromOneBalanceAccount,\\n  commission: commission1\\n};\\n\\nconst splitConfigurationRule1: Types.management.SplitConfigurationRule = {\\n  splitLogic: splitConfigurationLogic1,\\n  paymentMethod: \\&quot;ANY\\&quot;,\\n  shopperInteraction: Types.management.SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  currency: \\&quot;ANY\\&quot;,\\n  fundingSource: Types.management.SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nconst splitConfiguration: Types.management.SplitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [splitConfigurationRule1]\\n};\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the following resources:<\/p>\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-splitConfigurationId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitConfigurationId<\/a>&#58; The unique identifier of the split configuration profile.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)#responses-200-rules-ruleId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ruleId<\/a>&#58; The unique identifier of the split configuration rule.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-rules-splitLogic-splitLogicId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogicId<\/a>&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.<\/li>\n<\/ul>\n<p>You will need these IDs when you want to change the details of the split configuration profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Split configuration profile created'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"currency\\\": \\\"ANY\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"paymentMethod\\\": \\\"ANY\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000001\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"acquiringFees\\\": \\\"deductFromOneBalanceAccount\\\",\\n                \\\"adyenFees\\\": \\\"deductFromOnBalanceAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                }\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000001\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n\n        <\/div>\n    <\/div>\n<\/div>\n\n<div class=\"accordion-shortcode adl-accordion adl-accordion--max-height-transition\" data-expand=\"true\" data-ignore=\"anchorjs-link\">\n    \n    <div class=\"adl-accordion__item\" style=\"\">\n        <div tabindex=\"0\" role=\"item\" aria-expanded=\"false\" class=\"adl-accordion__header\">\n            <i class=\"adl-accordion__toggle adl-icon-chevron-down\"><\/i>\n            <div class=\"adl-accordion__title-wrapper\" data-accordion=\"#book-refunds-and-chargebacks\">\n                                    <h4 class=\"adl-accordion__title\">Book refunds and chargebacks<\/h4>\n                            <\/div>\n        <\/div>\n        <div role=\"region\" class=\"adl-accordion__content\">\n            \n<p>To define the split instructions for potential refunds, chargebacks, and the fees incurred by them, you can include the following parameters in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic<\/a> object.<\/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\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-refund\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">refund<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Define the refund logic:<ul><li markdown=\"1\">You can book the entire refund amount to your platform's liable balance account or to your user's balance account.<\/li><li markdown=\"1\">You can split the refund amount between the balance accounts specified in the original payment (with the same split ratio).<\/li><\/ul>If the associated store processes multiple partial captures, you must not set the refund logic to <strong>deductAccordingToSplitRatio<\/strong>.<br>Required if you want set <code>refundCostAllocation<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-refundCostAllocation\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">refundCostAllocation<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">Define to which balance account to book the fees incurred by the refund.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-chargeback\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">chargeback<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">Define the chargeback logic:<ul><li markdown=\"1\">You can book the entire disputed amount to your platform's liable balance account or to your user's balance account.<\/li><li markdown=\"1\">You can split the disputed amount between the balance accounts specified in the original payment (with the same split ratio).<\/li><\/ul>Required if you want set <code>chargebackCostAllocation<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-chargebackCostAllocation\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">chargebackCostAllocation<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">Define to which balance account to book the fees incurred by the chargeback.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In the following example, we create a split configuration profile that books:<\/p>\n<ul>\n<li>The refund amount to your user's balance account.<\/li>\n<li>The fees incurred by refunds to your liable balance account.<\/li>\n<li>The chargeback amount according to the original payment's split ratio.<\/li>\n<li>The fees incurred by chargebacks to your liable balance account.<\/li>\n<\/ul>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Define refund and chargeback instructions'\" :id=\"'split-refund-chargeback'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X POST \\\\\\n-d '{\\n    \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n    \\&quot;rules\\&quot;: [\\n        {\\n            \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;splitLogic\\&quot;: {\\n                \\&quot;refund\\&quot;: \\&quot;deductFromOneBalanceAccount\\&quot;,\\n                \\&quot;refundCostAllocation\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n                \\&quot;chargeback\\&quot;: \\&quot;deductAccordingToSplitRatio\\&quot;,\\n                \\&quot;chargebackCostAllocation\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n                \\&quot;commission\\&quot;: {\\n                    \\&quot;fixedAmount\\&quot;: 10,\\n                    \\&quot;variablePercentage\\&quot;: 100\\n                }\\n            }\\n        }\\n    ]\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v35.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission()\\n  .variablePercentage(100L)\\n  .fixedAmount(10L);\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic()\\n  .chargeback(SplitConfigurationLogic.ChargebackEnum.DEDUCTACCORDINGTOSPLITRATIO)\\n  .refundCostAllocation(SplitConfigurationLogic.RefundCostAllocationEnum.DEDUCTFROMLIABLEACCOUNT)\\n  .chargebackCostAllocation(SplitConfigurationLogic.ChargebackCostAllocationEnum.DEDUCTFROMLIABLEACCOUNT)\\n  .commission(commission1)\\n  .refund(SplitConfigurationLogic.RefundEnum.DEDUCTFROMONEBALANCEACCOUNT);\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule()\\n  .splitLogic(splitConfigurationLogic1)\\n  .paymentMethod(\\&quot;ANY\\&quot;)\\n  .shopperInteraction(SplitConfigurationRule.ShopperInteractionEnum.ANY)\\n  .currency(\\&quot;ANY\\&quot;)\\n  .fundingSource(SplitConfigurationRule.FundingSourceEnum.ANY);\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration()\\n  .description(\\&quot;Your description for the split configuration profile\\&quot;)\\n  .rules(Arrays.asList(splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Management\\\\Commission;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationLogic;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationRule;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$commission1 = new Commission();\\n$commission1\\n  -&gt;setVariablePercentage(100)\\n  -&gt;setFixedAmount(10);\\n\\n$splitConfigurationLogic1 = new SplitConfigurationLogic();\\n$splitConfigurationLogic1\\n  -&gt;setChargeback(\\&quot;deductAccordingToSplitRatio\\&quot;)\\n  -&gt;setRefundCostAllocation(\\&quot;deductFromLiableAccount\\&quot;)\\n  -&gt;setChargebackCostAllocation(\\&quot;deductFromLiableAccount\\&quot;)\\n  -&gt;setCommission($commission1)\\n  -&gt;setRefund(\\&quot;deductFromOneBalanceAccount\\&quot;);\\n\\n$splitConfigurationRule1 = new SplitConfigurationRule();\\n$splitConfigurationRule1\\n  -&gt;setSplitLogic($splitConfigurationLogic1)\\n  -&gt;setPaymentMethod(\\&quot;ANY\\&quot;)\\n  -&gt;setShopperInteraction(\\&quot;ANY\\&quot;)\\n  -&gt;setCurrency(\\&quot;ANY\\&quot;)\\n  -&gt;setFundingSource(\\&quot;ANY\\&quot;);\\n\\n$splitConfiguration = new SplitConfiguration();\\n$splitConfiguration\\n  -&gt;setDescription(\\&quot;Your description for the split configuration profile\\&quot;)\\n  -&gt;setRules(array($splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;createSplitConfiguration('merchantId', $splitConfiguration);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v31.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission\\n{\\n  VariablePercentage = 100,\\n  FixedAmount = 10\\n};\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic\\n{\\n  Chargeback = SplitConfigurationLogic.ChargebackEnum.DeductAccordingToSplitRatio,\\n  RefundCostAllocation = SplitConfigurationLogic.RefundCostAllocationEnum.DeductFromLiableAccount,\\n  ChargebackCostAllocation = SplitConfigurationLogic.ChargebackCostAllocationEnum.DeductFromLiableAccount,\\n  Commission = commission1,\\n  Refund = SplitConfigurationLogic.RefundEnum.DeductFromOneBalanceAccount\\n};\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule\\n{\\n  SplitLogic = splitConfigurationLogic1,\\n  PaymentMethod = \\&quot;ANY\\&quot;,\\n  ShopperInteraction = SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  Currency = \\&quot;ANY\\&quot;,\\n  FundingSource = SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration\\n{\\n  Description = \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules = new List&lt;SplitConfigurationRule&gt;{ splitConfigurationRule1 }\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.CreateSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst splitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [ {\\n    paymentMethod: \\&quot;ANY\\&quot;,\\n    shopperInteraction: \\&quot;ANY\\&quot;,\\n    fundingSource: \\&quot;ANY\\&quot;,\\n    currency: \\&quot;ANY\\&quot;,\\n    splitLogic: {\\n      refund: \\&quot;deductFromOneBalanceAccount\\&quot;,\\n      refundCostAllocation: \\&quot;deductFromLiableAccount\\&quot;,\\n      chargeback: \\&quot;deductAccordingToSplitRatio\\&quot;,\\n      chargebackCostAllocation: \\&quot;deductFromLiableAccount\\&quot;,\\n      commission: {\\n        fixedAmount: 10,\\n        variablePercentage: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\ncommission1 := management.Commission{\\n  VariablePercentage: common.PtrInt64(100),\\n  FixedAmount: common.PtrInt64(10),\\n}\\n\\nsplitConfigurationLogic1 := management.SplitConfigurationLogic{\\n  Chargeback: common.PtrString(\\&quot;deductAccordingToSplitRatio\\&quot;),\\n  RefundCostAllocation: common.PtrString(\\&quot;deductFromLiableAccount\\&quot;),\\n  ChargebackCostAllocation: common.PtrString(\\&quot;deductFromLiableAccount\\&quot;),\\n  Commission: commission1,\\n  Refund: common.PtrString(\\&quot;deductFromOneBalanceAccount\\&quot;),\\n}\\n\\nsplitConfigurationRule1 := management.SplitConfigurationRule{\\n  SplitLogic: splitConfigurationLogic1,\\n  PaymentMethod: \\&quot;ANY\\&quot;,\\n  ShopperInteraction: \\&quot;ANY\\&quot;,\\n  Currency: \\&quot;ANY\\&quot;,\\n  FundingSource: common.PtrString(\\&quot;ANY\\&quot;),\\n}\\n\\nsplitConfiguration := management.SplitConfiguration{\\n  Description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules: []management.SplitConfigurationRule{\\n      splitConfigurationRule1,\\n  },\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.CreateSplitConfigurationInput(\\&quot;merchantId\\&quot;).SplitConfiguration(splitConfiguration)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.CreateSplitConfiguration(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n  \\&quot;rules\\&quot;: [ {\\n    \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;splitLogic\\&quot;: {\\n      \\&quot;refund\\&quot;: \\&quot;deductFromOneBalanceAccount\\&quot;,\\n      \\&quot;refundCostAllocation\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n      \\&quot;chargeback\\&quot;: \\&quot;deductAccordingToSplitRatio\\&quot;,\\n      \\&quot;chargebackCostAllocation\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n      \\&quot;commission\\&quot;: {\\n        \\&quot;fixedAmount\\&quot;: 10,\\n        \\&quot;variablePercentage\\&quot;: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request=json_request, merchantId=\\&quot;merchantId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :description =&gt; 'Your description for the split configuration profile',\\n  :rules =&gt; [ {\\n    :paymentMethod =&gt; 'ANY',\\n    :shopperInteraction =&gt; 'ANY',\\n    :fundingSource =&gt; 'ANY',\\n    :currency =&gt; 'ANY',\\n    :splitLogic =&gt; {\\n      :refund =&gt; 'deductFromOneBalanceAccount',\\n      :refundCostAllocation =&gt; 'deductFromLiableAccount',\\n      :chargeback =&gt; 'deductAccordingToSplitRatio',\\n      :chargebackCostAllocation =&gt; 'deductFromLiableAccount',\\n      :commission =&gt; {\\n        :fixedAmount =&gt; 10,\\n        :variablePercentage =&gt; 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request_body, 'merchantId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst commission1: Types.management.Commission = {\\n  variablePercentage: 100,\\n  fixedAmount: 10\\n};\\n\\nconst splitConfigurationLogic1: Types.management.SplitConfigurationLogic = {\\n  chargeback: Types.management.SplitConfigurationLogic.ChargebackEnum.DeductAccordingToSplitRatio,\\n  refundCostAllocation: Types.management.SplitConfigurationLogic.RefundCostAllocationEnum.DeductFromLiableAccount,\\n  chargebackCostAllocation: Types.management.SplitConfigurationLogic.ChargebackCostAllocationEnum.DeductFromLiableAccount,\\n  commission: commission1,\\n  refund: Types.management.SplitConfigurationLogic.RefundEnum.DeductFromOneBalanceAccount\\n};\\n\\nconst splitConfigurationRule1: Types.management.SplitConfigurationRule = {\\n  splitLogic: splitConfigurationLogic1,\\n  paymentMethod: \\&quot;ANY\\&quot;,\\n  shopperInteraction: Types.management.SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  currency: \\&quot;ANY\\&quot;,\\n  fundingSource: Types.management.SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nconst splitConfiguration: Types.management.SplitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [splitConfigurationRule1]\\n};\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the following resources:<\/p>\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-splitConfigurationId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitConfigurationId<\/a>&#58; The unique identifier of the split configuration profile.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)#responses-200-rules-ruleId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ruleId<\/a>&#58; The unique identifier of the split configuration rule.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-rules-splitLogic-splitLogicId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogicId<\/a>&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.<\/li>\n<\/ul>\n<p>You will need these IDs when you want to change the details of the split configuration profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Refund and chargeback instructions defined'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"currency\\\": \\\"ANY\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"paymentMethod\\\": \\\"ANY\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000002\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"refund\\\": \\\"deductFromOneBalanceAccount\\\",\\n                \\\"refundCostAllocation\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"chargeback\\\": \\\"deductAccordingToSplitRatio\\\",\\n                \\\"chargebackCostAllocation\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                }\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000002\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n\n        <\/div>\n    <\/div>\n<\/div>\n\n<div class=\"accordion-shortcode adl-accordion adl-accordion--max-height-transition\" data-expand=\"true\" data-ignore=\"anchorjs-link\">\n    \n    <div class=\"adl-accordion__item\" style=\"\">\n        <div tabindex=\"0\" role=\"item\" aria-expanded=\"false\" class=\"adl-accordion__header\">\n            <i class=\"adl-accordion__toggle adl-icon-chevron-down\"><\/i>\n            <div class=\"adl-accordion__title-wrapper\" data-accordion=\"#book-remaining-amounts\">\n                                    <h4 class=\"adl-accordion__title\">Book remaining amounts<\/h4>\n                            <\/div>\n        <\/div>\n        <div role=\"region\" class=\"adl-accordion__content\">\n            \n<p>To define to which balance account to book the leftover amount after currency conversion, include the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-remainder\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">remainder<\/a> parameter in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic<\/a> object.<\/p>\n<p>In the following example, we book the leftover amount to your user's balance account.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Define where to book the remainder'\" :id=\"'split-remainder'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X POST \\\\\\n-d '{\\n    \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n    \\&quot;rules\\&quot;: [\\n        {\\n            \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;splitLogic\\&quot;: {\\n                \\&quot;remainder\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n                \\&quot;commission\\&quot;: {\\n                    \\&quot;fixedAmount\\&quot;: 10,\\n                    \\&quot;variablePercentage\\&quot;: 100\\n                }\\n            }\\n        }\\n    ]\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v35.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission()\\n  .variablePercentage(100L)\\n  .fixedAmount(10L);\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic()\\n  .commission(commission1)\\n  .remainder(SplitConfigurationLogic.RemainderEnum.ADDTOONEBALANCEACCOUNT);\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule()\\n  .splitLogic(splitConfigurationLogic1)\\n  .paymentMethod(\\&quot;ANY\\&quot;)\\n  .shopperInteraction(SplitConfigurationRule.ShopperInteractionEnum.ANY)\\n  .currency(\\&quot;ANY\\&quot;)\\n  .fundingSource(SplitConfigurationRule.FundingSourceEnum.ANY);\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration()\\n  .description(\\&quot;Your description for the split configuration profile\\&quot;)\\n  .rules(Arrays.asList(splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Management\\\\Commission;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationLogic;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationRule;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$commission1 = new Commission();\\n$commission1\\n  -&gt;setVariablePercentage(100)\\n  -&gt;setFixedAmount(10);\\n\\n$splitConfigurationLogic1 = new SplitConfigurationLogic();\\n$splitConfigurationLogic1\\n  -&gt;setCommission($commission1)\\n  -&gt;setRemainder(\\&quot;addToOneBalanceAccount\\&quot;);\\n\\n$splitConfigurationRule1 = new SplitConfigurationRule();\\n$splitConfigurationRule1\\n  -&gt;setSplitLogic($splitConfigurationLogic1)\\n  -&gt;setPaymentMethod(\\&quot;ANY\\&quot;)\\n  -&gt;setShopperInteraction(\\&quot;ANY\\&quot;)\\n  -&gt;setCurrency(\\&quot;ANY\\&quot;)\\n  -&gt;setFundingSource(\\&quot;ANY\\&quot;);\\n\\n$splitConfiguration = new SplitConfiguration();\\n$splitConfiguration\\n  -&gt;setDescription(\\&quot;Your description for the split configuration profile\\&quot;)\\n  -&gt;setRules(array($splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;createSplitConfiguration('merchantId', $splitConfiguration);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v31.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission\\n{\\n  VariablePercentage = 100,\\n  FixedAmount = 10\\n};\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic\\n{\\n  Commission = commission1,\\n  Remainder = SplitConfigurationLogic.RemainderEnum.AddToOneBalanceAccount\\n};\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule\\n{\\n  SplitLogic = splitConfigurationLogic1,\\n  PaymentMethod = \\&quot;ANY\\&quot;,\\n  ShopperInteraction = SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  Currency = \\&quot;ANY\\&quot;,\\n  FundingSource = SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration\\n{\\n  Description = \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules = new List&lt;SplitConfigurationRule&gt;{ splitConfigurationRule1 }\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.CreateSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst splitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [ {\\n    paymentMethod: \\&quot;ANY\\&quot;,\\n    shopperInteraction: \\&quot;ANY\\&quot;,\\n    fundingSource: \\&quot;ANY\\&quot;,\\n    currency: \\&quot;ANY\\&quot;,\\n    splitLogic: {\\n      remainder: \\&quot;addToOneBalanceAccount\\&quot;,\\n      commission: {\\n        fixedAmount: 10,\\n        variablePercentage: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\ncommission1 := management.Commission{\\n  VariablePercentage: common.PtrInt64(100),\\n  FixedAmount: common.PtrInt64(10),\\n}\\n\\nsplitConfigurationLogic1 := management.SplitConfigurationLogic{\\n  Commission: commission1,\\n  Remainder: common.PtrString(\\&quot;addToOneBalanceAccount\\&quot;),\\n}\\n\\nsplitConfigurationRule1 := management.SplitConfigurationRule{\\n  SplitLogic: splitConfigurationLogic1,\\n  PaymentMethod: \\&quot;ANY\\&quot;,\\n  ShopperInteraction: \\&quot;ANY\\&quot;,\\n  Currency: \\&quot;ANY\\&quot;,\\n  FundingSource: common.PtrString(\\&quot;ANY\\&quot;),\\n}\\n\\nsplitConfiguration := management.SplitConfiguration{\\n  Description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules: []management.SplitConfigurationRule{\\n      splitConfigurationRule1,\\n  },\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.CreateSplitConfigurationInput(\\&quot;merchantId\\&quot;).SplitConfiguration(splitConfiguration)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.CreateSplitConfiguration(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n  \\&quot;rules\\&quot;: [ {\\n    \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;splitLogic\\&quot;: {\\n      \\&quot;remainder\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n      \\&quot;commission\\&quot;: {\\n        \\&quot;fixedAmount\\&quot;: 10,\\n        \\&quot;variablePercentage\\&quot;: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request=json_request, merchantId=\\&quot;merchantId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :description =&gt; 'Your description for the split configuration profile',\\n  :rules =&gt; [ {\\n    :paymentMethod =&gt; 'ANY',\\n    :shopperInteraction =&gt; 'ANY',\\n    :fundingSource =&gt; 'ANY',\\n    :currency =&gt; 'ANY',\\n    :splitLogic =&gt; {\\n      :remainder =&gt; 'addToOneBalanceAccount',\\n      :commission =&gt; {\\n        :fixedAmount =&gt; 10,\\n        :variablePercentage =&gt; 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request_body, 'merchantId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst commission1: Types.management.Commission = {\\n  variablePercentage: 100,\\n  fixedAmount: 10\\n};\\n\\nconst splitConfigurationLogic1: Types.management.SplitConfigurationLogic = {\\n  commission: commission1,\\n  remainder: Types.management.SplitConfigurationLogic.RemainderEnum.AddToOneBalanceAccount\\n};\\n\\nconst splitConfigurationRule1: Types.management.SplitConfigurationRule = {\\n  splitLogic: splitConfigurationLogic1,\\n  paymentMethod: \\&quot;ANY\\&quot;,\\n  shopperInteraction: Types.management.SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  currency: \\&quot;ANY\\&quot;,\\n  fundingSource: Types.management.SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nconst splitConfiguration: Types.management.SplitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [splitConfigurationRule1]\\n};\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the following resources:<\/p>\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-splitConfigurationId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitConfigurationId<\/a>&#58; The unique identifier of the split configuration profile.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)#responses-200-rules-ruleId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ruleId<\/a>&#58; The unique identifier of the split configuration rule.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-rules-splitLogic-splitLogicId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogicId<\/a>&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.<\/li>\n<\/ul>\n<p>You will need these IDs when you want to change the details of the split configuration profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Refund and chargeback instructions defined'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"currency\\\": \\\"ANY\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"paymentMethod\\\": \\\"ANY\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000003\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"remainder\\\": \\\"addToOneBalanceAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                }\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000003\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n\n        <\/div>\n    <\/div>\n<\/div>\n\n<div class=\"accordion-shortcode adl-accordion adl-accordion--max-height-transition\" data-expand=\"true\" data-ignore=\"anchorjs-link\">\n    \n    <div class=\"adl-accordion__item\" style=\"\">\n        <div tabindex=\"0\" role=\"item\" aria-expanded=\"false\" class=\"adl-accordion__header\">\n            <i class=\"adl-accordion__toggle adl-icon-chevron-down\"><\/i>\n            <div class=\"adl-accordion__title-wrapper\" data-accordion=\"#book-tips-and-surcharges\">\n                                    <h4 class=\"adl-accordion__title\">Book tips and surcharges<\/h4>\n                            <\/div>\n        <\/div>\n        <div role=\"region\" class=\"adl-accordion__content\">\n            \n<div class=\"notices green\">\n<p><span class=\"hint--bottom\" data-hint=\"Enable your users to pass on the payment acceptance fee to their customers by adding a surcharge to the payment request.\" markdown=\"1\"><a href=\"\/pt\/platforms\/in-person-payments\/surcharge\">Surcharges<\/a><\/span> can only be configured for payments initiated in Australia and New Zealand. You can join a pilot in Canada, Europe, and the United States.<\/p>\n<\/div>\n<p>To define the split instructions for potential tips and surcharges, you can include the following parameters in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogic<\/a> object:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: left;\">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\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-surcharge\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">surcharge<\/a><\/td>\n<td style=\"text-align: left;\"><\/td>\n<td style=\"text-align: left;\">Define to which balance account to book surcharges.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-tip\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">tip<\/a><\/td>\n<td style=\"text-align: left;\"><\/td>\n<td style=\"text-align: left;\">Define to which balance account to book the gratuity.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In the following example, we create a split configuration profile that books both the tip and surcharge to your user's balance account.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Define tip and surcharge instructions'\" :id=\"'split-tip-surcharge'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X POST \\\\\\n-d '{\\n    \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n    \\&quot;rules\\&quot;: [\\n        {\\n            \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n            \\&quot;splitLogic\\&quot;: {\\n                \\&quot;tip\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n                \\&quot;surcharge\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n                \\&quot;commission\\&quot;: {\\n                    \\&quot;fixedAmount\\&quot;: 10,\\n                    \\&quot;variablePercentage\\&quot;: 100\\n                }\\n            }\\n        }\\n    ]\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v35.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission()\\n  .variablePercentage(100L)\\n  .fixedAmount(10L);\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic()\\n  .surcharge(SplitConfigurationLogic.SurchargeEnum.ADDTOONEBALANCEACCOUNT)\\n  .tip(SplitConfigurationLogic.TipEnum.ADDTOONEBALANCEACCOUNT)\\n  .commission(commission1);\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule()\\n  .splitLogic(splitConfigurationLogic1)\\n  .paymentMethod(\\&quot;ANY\\&quot;)\\n  .shopperInteraction(SplitConfigurationRule.ShopperInteractionEnum.ANY)\\n  .currency(\\&quot;ANY\\&quot;)\\n  .fundingSource(SplitConfigurationRule.FundingSourceEnum.ANY);\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration()\\n  .description(\\&quot;Your description for the split configuration profile\\&quot;)\\n  .rules(Arrays.asList(splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Management\\\\Commission;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationLogic;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationRule;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$commission1 = new Commission();\\n$commission1\\n  -&gt;setVariablePercentage(100)\\n  -&gt;setFixedAmount(10);\\n\\n$splitConfigurationLogic1 = new SplitConfigurationLogic();\\n$splitConfigurationLogic1\\n  -&gt;setSurcharge(\\&quot;addToOneBalanceAccount\\&quot;)\\n  -&gt;setTip(\\&quot;addToOneBalanceAccount\\&quot;)\\n  -&gt;setCommission($commission1);\\n\\n$splitConfigurationRule1 = new SplitConfigurationRule();\\n$splitConfigurationRule1\\n  -&gt;setSplitLogic($splitConfigurationLogic1)\\n  -&gt;setPaymentMethod(\\&quot;ANY\\&quot;)\\n  -&gt;setShopperInteraction(\\&quot;ANY\\&quot;)\\n  -&gt;setCurrency(\\&quot;ANY\\&quot;)\\n  -&gt;setFundingSource(\\&quot;ANY\\&quot;);\\n\\n$splitConfiguration = new SplitConfiguration();\\n$splitConfiguration\\n  -&gt;setDescription(\\&quot;Your description for the split configuration profile\\&quot;)\\n  -&gt;setRules(array($splitConfigurationRule1));\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;createSplitConfiguration('merchantId', $splitConfiguration);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v31.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nCommission commission1 = new Commission\\n{\\n  VariablePercentage = 100,\\n  FixedAmount = 10\\n};\\n\\nSplitConfigurationLogic splitConfigurationLogic1 = new SplitConfigurationLogic\\n{\\n  Surcharge = SplitConfigurationLogic.SurchargeEnum.AddToOneBalanceAccount,\\n  Tip = SplitConfigurationLogic.TipEnum.AddToOneBalanceAccount,\\n  Commission = commission1\\n};\\n\\nSplitConfigurationRule splitConfigurationRule1 = new SplitConfigurationRule\\n{\\n  SplitLogic = splitConfigurationLogic1,\\n  PaymentMethod = \\&quot;ANY\\&quot;,\\n  ShopperInteraction = SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  Currency = \\&quot;ANY\\&quot;,\\n  FundingSource = SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nSplitConfiguration splitConfiguration = new SplitConfiguration\\n{\\n  Description = \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules = new List&lt;SplitConfigurationRule&gt;{ splitConfigurationRule1 }\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.CreateSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst splitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [ {\\n    paymentMethod: \\&quot;ANY\\&quot;,\\n    shopperInteraction: \\&quot;ANY\\&quot;,\\n    fundingSource: \\&quot;ANY\\&quot;,\\n    currency: \\&quot;ANY\\&quot;,\\n    splitLogic: {\\n      tip: \\&quot;addToOneBalanceAccount\\&quot;,\\n      surcharge: \\&quot;addToOneBalanceAccount\\&quot;,\\n      commission: {\\n        fixedAmount: 10,\\n        variablePercentage: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\ncommission1 := management.Commission{\\n  VariablePercentage: common.PtrInt64(100),\\n  FixedAmount: common.PtrInt64(10),\\n}\\n\\nsplitConfigurationLogic1 := management.SplitConfigurationLogic{\\n  Surcharge: common.PtrString(\\&quot;addToOneBalanceAccount\\&quot;),\\n  Tip: common.PtrString(\\&quot;addToOneBalanceAccount\\&quot;),\\n  Commission: commission1,\\n}\\n\\nsplitConfigurationRule1 := management.SplitConfigurationRule{\\n  SplitLogic: splitConfigurationLogic1,\\n  PaymentMethod: \\&quot;ANY\\&quot;,\\n  ShopperInteraction: \\&quot;ANY\\&quot;,\\n  Currency: \\&quot;ANY\\&quot;,\\n  FundingSource: common.PtrString(\\&quot;ANY\\&quot;),\\n}\\n\\nsplitConfiguration := management.SplitConfiguration{\\n  Description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  Rules: []management.SplitConfigurationRule{\\n      splitConfigurationRule1,\\n  },\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.CreateSplitConfigurationInput(\\&quot;merchantId\\&quot;).SplitConfiguration(splitConfiguration)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.CreateSplitConfiguration(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;description\\&quot;: \\&quot;Your description for the split configuration profile\\&quot;,\\n  \\&quot;rules\\&quot;: [ {\\n    \\&quot;paymentMethod\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;currency\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;splitLogic\\&quot;: {\\n      \\&quot;tip\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n      \\&quot;surcharge\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n      \\&quot;commission\\&quot;: {\\n        \\&quot;fixedAmount\\&quot;: 10,\\n        \\&quot;variablePercentage\\&quot;: 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request=json_request, merchantId=\\&quot;merchantId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :description =&gt; 'Your description for the split configuration profile',\\n  :rules =&gt; [ {\\n    :paymentMethod =&gt; 'ANY',\\n    :shopperInteraction =&gt; 'ANY',\\n    :fundingSource =&gt; 'ANY',\\n    :currency =&gt; 'ANY',\\n    :splitLogic =&gt; {\\n      :tip =&gt; 'addToOneBalanceAccount',\\n      :surcharge =&gt; 'addToOneBalanceAccount',\\n      :commission =&gt; {\\n        :fixedAmount =&gt; 10,\\n        :variablePercentage =&gt; 100\\n      }\\n    }\\n  } ]\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.create_split_configuration(request_body, 'merchantId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v26.1.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst commission1: Types.management.Commission = {\\n  variablePercentage: 100,\\n  fixedAmount: 10\\n};\\n\\nconst splitConfigurationLogic1: Types.management.SplitConfigurationLogic = {\\n  surcharge: Types.management.SplitConfigurationLogic.SurchargeEnum.AddToOneBalanceAccount,\\n  tip: Types.management.SplitConfigurationLogic.TipEnum.AddToOneBalanceAccount,\\n  commission: commission1\\n};\\n\\nconst splitConfigurationRule1: Types.management.SplitConfigurationRule = {\\n  splitLogic: splitConfigurationLogic1,\\n  paymentMethod: \\&quot;ANY\\&quot;,\\n  shopperInteraction: Types.management.SplitConfigurationRule.ShopperInteractionEnum.ANY,\\n  currency: \\&quot;ANY\\&quot;,\\n  fundingSource: Types.management.SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\nconst splitConfiguration: Types.management.SplitConfiguration = {\\n  description: \\&quot;Your description for the split configuration profile\\&quot;,\\n  rules: [splitConfigurationRule1]\\n};\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createSplitConfiguration(\\&quot;merchantId\\&quot;, splitConfiguration);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the following resources:<\/p>\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-splitConfigurationId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitConfigurationId<\/a>&#58; The unique identifier of the split configuration profile.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)#responses-200-rules-ruleId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ruleId<\/a>&#58; The unique identifier of the split configuration rule.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-rules-splitLogic-splitLogicId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogicId<\/a>&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.<\/li>\n<\/ul>\n<p>You will need these IDs when you want to change the details of the split configuration profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Tip and surcharge instructions defined'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"currency\\\": \\\"ANY\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"paymentMethod\\\": \\\"ANY\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000004\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"tip\\\": \\\"addToOneBalanceAccount\\\",\\n                \\\"surcharge\\\": \\\"addToOneBalanceAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                }\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000004\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n\n        <\/div>\n    <\/div>\n<\/div>\n\n<p>The following example shows how you can add a new rule to an existing profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Add a rule'\" :id=\"'add-rule'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations\\\/SCNF00000000000000000000001 \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X POST \\\\\\n-d '{\\n    \\&quot;paymentMethod\\&quot;: \\&quot;visa\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;: \\&quot;POS\\&quot;,\\n    \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n    \\&quot;currency\\&quot;: \\&quot;USD\\&quot;,\\n    \\&quot;splitLogic\\&quot;: {\\n        \\&quot;paymentFee\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n        \\&quot;chargeback\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n        \\&quot;tip\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n        \\&quot;remainder\\&quot;: \\&quot;addToLiableAccount\\&quot;,\\n        \\&quot;commission\\&quot;: {\\n            \\&quot;fixedAmount\\&quot;: 10,\\n            \\&quot;variablePercentage\\&quot;: 100\\n        },\\n        \\&quot;additionalCommission\\&quot;: {\\n            \\&quot;fixedAmount\\&quot;: 10,\\n            \\&quot;variablePercentage\\&quot;: 50,\\n            \\&quot;balanceAccountId\\&quot;: \\&quot;BA00000000000000000000001\\&quot;\\n        }\\n    }\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v25.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nAdditionalCommission additionalCommission = new AdditionalCommission()\\n  .balanceAccountId(\\&quot;BA00000000000000000000001\\&quot;)\\n  .variablePercentage(50L)\\n  .fixedAmount(10L);\\n\\nCommission commission = new Commission()\\n  .variablePercentage(100L)\\n  .fixedAmount(10L);\\n\\nSplitConfigurationLogic splitConfigurationLogic = new SplitConfigurationLogic()\\n  .paymentFee(SplitConfigurationLogic.PaymentFeeEnum.DEDUCTFROMLIABLEACCOUNT)\\n  .chargeback(SplitConfigurationLogic.ChargebackEnum.DEDUCTFROMLIABLEACCOUNT)\\n  .additionalCommission(additionalCommission)\\n  .tip(SplitConfigurationLogic.TipEnum.ADDTOONEBALANCEACCOUNT)\\n  .commission(commission)\\n  .remainder(SplitConfigurationLogic.RemainderEnum.ADDTOLIABLEACCOUNT);\\n\\nSplitConfigurationRule splitConfigurationRule = new SplitConfigurationRule()\\n  .splitLogic(splitConfigurationLogic)\\n  .paymentMethod(\\&quot;visa\\&quot;)\\n  .shopperInteraction(SplitConfigurationRule.ShopperInteractionEnum.POS)\\n  .currency(\\&quot;USD\\&quot;)\\n  .fundingSource(SplitConfigurationRule.FundingSourceEnum.ANY);\\n\\n\\\/\\\/ Make the API call\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.createRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, splitConfigurationRule, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen PHP API Library v17.4.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Management\\\\AdditionalCommission;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationLogic;\\nuse Adyen\\\\Model\\\\Management\\\\SplitConfigurationRule;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$additionalCommission = new AdditionalCommission();\\n$additionalCommission\\n  -&gt;setBalanceAccountId(\\&quot;BA00000000000000000000001\\&quot;)\\n  -&gt;setVariablePercentage(50)\\n  -&gt;setFixedAmount(10);\\n\\n$commission = new Commission();\\n$commission\\n  -&gt;setVariablePercentage(100)\\n  -&gt;setFixedAmount(10);\\n\\n$splitConfigurationLogic = new SplitConfigurationLogic();\\n$splitConfigurationLogic\\n  -&gt;setPaymentFee(\\&quot;deductFromLiableAccount\\&quot;)\\n  -&gt;setChargeback(\\&quot;deductFromLiableAccount\\&quot;)\\n  -&gt;setAdditionalCommission($additionalCommission)\\n  -&gt;setTip(\\&quot;addToOneBalanceAccount\\&quot;)\\n  -&gt;setCommission($commission)\\n  -&gt;setRemainder(\\&quot;addToLiableAccount\\&quot;);\\n\\n$splitConfigurationRule = new SplitConfigurationRule();\\n$splitConfigurationRule\\n  -&gt;setSplitLogic($splitConfigurationLogic)\\n  -&gt;setPaymentMethod(\\&quot;visa\\&quot;)\\n  -&gt;setShopperInteraction(\\&quot;POS\\&quot;)\\n  -&gt;setCurrency(\\&quot;USD\\&quot;)\\n  -&gt;setFundingSource(\\&quot;ANY\\&quot;);\\n\\n\\\/\\\/ Make the API call\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;createRule('merchantId', 'splitConfigurationId', $splitConfigurationRule);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v14.4.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nAdditionalCommission additionalCommission = new AdditionalCommission\\n{\\n  BalanceAccountId = \\&quot;BA00000000000000000000001\\&quot;,\\n  VariablePercentage = 50,\\n  FixedAmount = 10\\n};\\n\\nCommission commission = new Commission\\n{\\n  VariablePercentage = 100,\\n  FixedAmount = 10\\n};\\n\\nSplitConfigurationLogic splitConfigurationLogic = new SplitConfigurationLogic\\n{\\n  PaymentFee = SplitConfigurationLogic.PaymentFeeEnum.DeductFromLiableAccount,\\n  Chargeback = SplitConfigurationLogic.ChargebackEnum.DeductFromLiableAccount,\\n  AdditionalCommission = additionalCommission,\\n  Tip = SplitConfigurationLogic.TipEnum.AddToOneBalanceAccount,\\n  Commission = commission,\\n  Remainder = SplitConfigurationLogic.RemainderEnum.AddToLiableAccount\\n};\\n\\nSplitConfigurationRule splitConfigurationRule = new SplitConfigurationRule\\n{\\n  SplitLogic = splitConfigurationLogic,\\n  PaymentMethod = \\&quot;visa\\&quot;,\\n  ShopperInteraction = SplitConfigurationRule.ShopperInteractionEnum.POS,\\n  Currency = \\&quot;USD\\&quot;,\\n  FundingSource = SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\n\\\/\\\/ Make the API call\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.CreateRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, splitConfigurationRule);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v16.2.0\\n\\\/\\\/ Require the parts of the module you want to use\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst splitConfigurationRule = {\\n  paymentMethod: \\&quot;visa\\&quot;,\\n  shopperInteraction: \\&quot;POS\\&quot;,\\n  fundingSource: \\&quot;ANY\\&quot;,\\n  currency: \\&quot;USD\\&quot;,\\n  splitLogic: {\\n    paymentFee: \\&quot;deductFromLiableAccount\\&quot;,\\n    chargeback: \\&quot;deductFromLiableAccount\\&quot;,\\n    tip: \\&quot;addToOneBalanceAccount\\&quot;,\\n    remainder: \\&quot;addToLiableAccount\\&quot;,\\n    commission: {\\n      fixedAmount: 10,\\n      variablePercentage: 100\\n    },\\n    additionalCommission: {\\n      fixedAmount: 10,\\n      variablePercentage: 50,\\n      balanceAccountId: \\&quot;BA00000000000000000000001\\&quot;\\n    }\\n  }\\n}\\n\\n\\\/\\\/ Make the API call\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, splitConfigurationRule);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v9.3.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\nadditionalCommission := management.AdditionalCommission{\\n  BalanceAccountId: common.PtrString(\\&quot;BA00000000000000000000001\\&quot;),\\n  VariablePercentage: common.PtrInt64(50),\\n  FixedAmount: common.PtrInt64(10),\\n}\\n\\ncommission := management.Commission{\\n  VariablePercentage: common.PtrInt64(100),\\n  FixedAmount: common.PtrInt64(10),\\n}\\n\\nsplitConfigurationLogic := management.SplitConfigurationLogic{\\n  PaymentFee: common.PtrString(\\&quot;deductFromLiableAccount\\&quot;),\\n  Chargeback: common.PtrString(\\&quot;deductFromLiableAccount\\&quot;),\\n  AdditionalCommission: &amp;additionalCommission,\\n  Tip: common.PtrString(\\&quot;addToOneBalanceAccount\\&quot;),\\n  Commission: commission,\\n  Remainder: common.PtrString(\\&quot;addToLiableAccount\\&quot;),\\n}\\n\\nsplitConfigurationRule := management.SplitConfigurationRule{\\n  SplitLogic: splitConfigurationLogic,\\n  PaymentMethod: \\&quot;visa\\&quot;,\\n  ShopperInteraction: \\&quot;POS\\&quot;,\\n  Currency: \\&quot;USD\\&quot;,\\n  FundingSource: common.PtrString(\\&quot;ANY\\&quot;),\\n}\\n\\n\\\/\\\/ Make the API call\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.CreateRuleInput(\\&quot;merchantId\\&quot;,\\&quot;splitConfigurationId\\&quot;).SplitConfigurationRule(splitConfigurationRule)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.CreateRule(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v12.2.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;paymentMethod\\&quot;: \\&quot;visa\\&quot;,\\n  \\&quot;shopperInteraction\\&quot;: \\&quot;POS\\&quot;,\\n  \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n  \\&quot;currency\\&quot;: \\&quot;USD\\&quot;,\\n  \\&quot;splitLogic\\&quot;: {\\n    \\&quot;paymentFee\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n    \\&quot;chargeback\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n    \\&quot;tip\\&quot;: \\&quot;addToOneBalanceAccount\\&quot;,\\n    \\&quot;remainder\\&quot;: \\&quot;addToLiableAccount\\&quot;,\\n    \\&quot;commission\\&quot;: {\\n      \\&quot;fixedAmount\\&quot;: 10,\\n      \\&quot;variablePercentage\\&quot;: 100\\n    },\\n    \\&quot;additionalCommission\\&quot;: {\\n      \\&quot;fixedAmount\\&quot;: 10,\\n      \\&quot;variablePercentage\\&quot;: 50,\\n      \\&quot;balanceAccountId\\&quot;: \\&quot;BA00000000000000000000001\\&quot;\\n    }\\n  }\\n}\\n\\n# Make the API call\\nresult = adyen.management.split_configuration_merchant_level_api.create_rule(request=json_request, merchantId=\\&quot;merchantId\\&quot;, splitConfigurationId=\\&quot;splitConfigurationId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v9.3.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :paymentMethod =&gt; 'visa',\\n  :shopperInteraction =&gt; 'POS',\\n  :fundingSource =&gt; 'ANY',\\n  :currency =&gt; 'USD',\\n  :splitLogic =&gt; {\\n    :paymentFee =&gt; 'deductFromLiableAccount',\\n    :chargeback =&gt; 'deductFromLiableAccount',\\n    :tip =&gt; 'addToOneBalanceAccount',\\n    :remainder =&gt; 'addToLiableAccount',\\n    :commission =&gt; {\\n      :fixedAmount =&gt; 10,\\n      :variablePercentage =&gt; 100\\n    },\\n    :additionalCommission =&gt; {\\n      :fixedAmount =&gt; 10,\\n      :variablePercentage =&gt; 50,\\n      :balanceAccountId =&gt; 'BA00000000000000000000001'\\n    }\\n  }\\n}\\n\\n# Make the API call\\nresult = adyen.management.split_configuration_merchant_level_api.create_rule(request_body, 'merchantId', 'splitConfigurationId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v16.2.0\\n\\\/\\\/ Require the parts of the module you want to use\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst additionalCommission: Types.management.AdditionalCommission = {\\n  balanceAccountId: \\&quot;BA00000000000000000000001\\&quot;,\\n  variablePercentage: 50,\\n  fixedAmount: 10\\n};\\n\\nconst commission: Types.management.Commission = {\\n  variablePercentage: 100,\\n  fixedAmount: 10\\n};\\n\\nconst splitConfigurationLogic: Types.management.SplitConfigurationLogic = {\\n  paymentFee: Types.management.SplitConfigurationLogic.PaymentFeeEnum.DeductFromLiableAccount,\\n  chargeback: Types.management.SplitConfigurationLogic.ChargebackEnum.DeductFromLiableAccount,\\n  additionalCommission: additionalCommission,\\n  tip: Types.management.SplitConfigurationLogic.TipEnum.AddToOneBalanceAccount,\\n  commission: commission,\\n  remainder: Types.management.SplitConfigurationLogic.RemainderEnum.AddToLiableAccount\\n};\\n\\nconst splitConfigurationRule: Types.management.SplitConfigurationRule = {\\n  splitLogic: splitConfigurationLogic,\\n  paymentMethod: \\&quot;visa\\&quot;,\\n  shopperInteraction: Types.management.SplitConfigurationRule.ShopperInteractionEnum.POS,\\n  currency: \\&quot;USD\\&quot;,\\n  fundingSource: Types.management.SplitConfigurationRule.FundingSourceEnum.ANY\\n};\\n\\n\\\/\\\/ Make the API call\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.createRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, splitConfigurationRule);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the full details of the updated split configuration profile, including the <code>ruleId<\/code> of the new rule in the <code>rules<\/code> array.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Rule created'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"currency\\\": \\\"USD\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"cardRegion\\\": \\\"domestic\\\",\\n            \\\"paymentMethod\\\": \\\"visa\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000001\\\",\\n            \\\"shopperInteraction\\\": \\\"POS\\\",\\n            \\\"split\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 50,\\n                    \\\"balanceAccountId\\\": \\\"BA00000000000000000000001\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG00000000000000000000001\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToOneBalanceAccount\\\",\\n                \\\"tip\\\": \\\"addToOneBalanceAccount\\\"\\n            }\\n        },\\n        {\\n            \\\"currency\\\": \\\"USD\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"cardRegion\\\": \\\"domestic\\\",\\n            \\\"paymentMethod\\\": \\\"visa\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000002\\\",\\n            \\\"shopperInteraction\\\": \\\"POS\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 50,\\n                    \\\"balanceAccountId\\\": \\\"BA00000000000000000000001\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG00000000000000000000002\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToLiableAccount\\\",\\n                \\\"tip\\\": \\\"addToOneBalanceAccount\\\"\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000001\\\",\\n    \\\"stores\\\": [\\n      \\\"ST00000000000000000000001\\\",\\n      \\\"ST00000000000000000000002\\\"\\n  ]\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"update-condition\">Change the conditions<\/h2>\n<p>You can update the conditions that determine whether the payment is split automatically by modifying the rule in the profile. For more information on these conditions, see <a href=\"\/pt\/platforms\/automatic-split-configuration#conditions\">Rule conditions<\/a>.<\/p>\n<p>To change the conditions of a rule, make a PATCH  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/patch\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)\/rules\/(ruleId)\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}\/rules\/{ruleId}<\/a> request with the following path parameters:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Path parameters<\/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\/Management\/latest\/post\/merchants#responses-200-id\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">merchantId<\/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 your merchant account.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-splitConfigurationId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitConfigurationId<\/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 split configuration profile you want to update.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)#responses-200-rules-ruleId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ruleId<\/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 rule whose conditions you want to update.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In the body of the request, include the following fields:<\/p>\n<div class=\"sticky-table-container\">\n    \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\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-currency\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">currency<\/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;\">You must define whether the rule applies to a specific currency, or all currencies.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-paymentMethod\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">paymentMethod<\/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;\">You must define whether the rule applies to a specific payment method, or all payment methods associated with the store. You can differentiate between <a href=\"\/pt\/development-resources\/paymentmethodvariant\/\">payment method variants<\/a> as well, for example, configure different instructions for <span translate=\"no\"><strong>visagold<\/strong><\/span> and <span translate=\"no\"><strong>visasignature<\/strong><\/span>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-cardRegion\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">cardRegion<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">Defines whether the rule applies to transactions processed through a store that's registered in the same country\/region where the card was issued, in a different country\/region, or all transaction regardless of the processing and issuing location.<br>Possible values:<ul><li markdown=\"1\"><span translate=\"no\"><strong>domestic<\/strong><\/span><\/li><li markdown=\"1\"><span translate=\"no\"><strong>interRegional<\/strong><\/span><\/li><li markdown=\"1\"><span translate=\"no\"><strong>intraRegional<\/strong><\/span><\/li><li markdown=\"1\"><span translate=\"no\"><strong>international<\/strong><\/span><\/li><li><span translate=\"no\"><strong>ANY<\/strong><\/span><\/ul><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-fundingSource\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">fundingSource<\/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;\">You must define whether the rule applies only to payments initiated by a specific type of card, or any card types.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-shopperInteraction\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperInteraction<\/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;\">You must define whether the rule applies to a specific sales channel, or all channels.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n<\/div>\n\n<div class=\"notices green\">\n<p>You must send <strong>all conditions<\/strong> in the request, not only the ones you want to update.<\/p>\n<\/div>\n<p>The following example shows how you can change the conditions that define whether the payment is split according to the instructions defined in the split configuration profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Update the conditions of a rule'\" :id=\"'update-rule-conditions'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations\\\/SCNF00000000000000000000001\\\/rules\\\/SCRL00000000000000000000001 \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X PATCH \\\\\\n-d '{\\n      \\&quot;currency\\&quot;: \\&quot;EUR\\&quot;,\\n      \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n      \\&quot;paymentMethod\\&quot;: \\&quot;visa\\&quot;,\\n      \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v38.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.updateSplitConditions(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, updateSplitConfigurationRuleRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;updateSplitConditions('merchantId', 'splitConfigurationId', 'ruleId', $updateSplitConfigurationRuleRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v32.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.UpdateSplitConditions(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, updateSplitConfigurationRuleRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst updateSplitConfigurationRuleRequest = {\\n  currency: \\&quot;EUR\\&quot;,\\n  fundingSource: \\&quot;ANY\\&quot;,\\n  paymentMethod: \\&quot;visa\\&quot;,\\n  shopperInteraction: \\&quot;ANY\\&quot;\\n}\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.updateSplitConditions(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, updateSplitConfigurationRuleRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.UpdateSplitConditionsInput(\\&quot;merchantId\\&quot;,\\&quot;splitConfigurationId\\&quot;,\\&quot;ruleId\\&quot;).UpdateSplitConfigurationRuleRequest(updateSplitConfigurationRuleRequest)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.UpdateSplitConditions(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;currency\\&quot;: \\&quot;EUR\\&quot;,\\n  \\&quot;fundingSource\\&quot;: \\&quot;ANY\\&quot;,\\n  \\&quot;paymentMethod\\&quot;: \\&quot;visa\\&quot;,\\n  \\&quot;shopperInteraction\\&quot;: \\&quot;ANY\\&quot;\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.update_split_conditions(request=json_request, merchantId=\\&quot;merchantId\\&quot;, splitConfigurationId=\\&quot;splitConfigurationId\\&quot;, ruleId=\\&quot;ruleId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :currency =&gt; 'EUR',\\n  :fundingSource =&gt; 'ANY',\\n  :paymentMethod =&gt; 'visa',\\n  :shopperInteraction =&gt; 'ANY'\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.update_split_conditions(request_body, 'merchantId', 'splitConfigurationId', 'ruleId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.updateSplitConditions(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, updateSplitConfigurationRuleRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the full details of the updated split configuration profile, including the rule with the updated conditions.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Conditions updated'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"currency\\\": \\\"USD\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"cardRegion\\\": \\\"domestic\\\",\\n            \\\"paymentMethod\\\": \\\"visa\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000001\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 50,\\n                    \\\"balanceAccountId\\\": \\\"BA00000000000000000000001\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 10,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG00000000000000000000001\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToOneBalanceAccount\\\",\\n                \\\"tip\\\": \\\"addToOneBalanceAccount\\\"\\n            }\\n        }\\n      ],\\n      \\\"splitConfigurationId\\\":\\\"SCNF00000000000000000000001\\\",\\n    \\\"stores\\\": [\\n      \\\"ST00000000000000000000001\\\",\\n      \\\"ST00000000000000000000002\\\"\\n  ]\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"update-split-logic\">Change the split logic<\/h2>\n<p>You can change the way a transaction is split between the balance accounts of your platform by modifying the <a href=\"\/pt\/platforms\/automatic-split-configuration#split-logic\">split logic<\/a> of the rule.<\/p>\n<p>To change the split logic used in a rule, make a PATCH  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/patch\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)\/rules\/(ruleId)\/splitLogic\/(splitLogicId)\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}\/rules\/{ruleId}\/splitLogic\/{splitLogicId}<\/a> request, specifying the following path parameters:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Path parameters<\/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\/Management\/latest\/post\/merchants#responses-200-id\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">merchantId<\/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 your merchant account.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-splitConfigurationId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitConfigurationId<\/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 split configuration profile you want to update.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)#responses-200-rules-ruleId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ruleId<\/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 rule whose split logic you want to update.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#responses-200-rules-splitLogic-splitLogicId\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">splitLogicId<\/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 split logic object you want to update.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-commission\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">commission<\/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;\">You must define the commission fee for the payments. This can be a fixed amount, a percentage, or both.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-paymentFee\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">paymentFee<\/a><br>or another <a href=\"\/pt\/platforms\/online-payments\/transaction-fees\/#transaction-fee-types\">transaction fee type<\/a><\/td>\n<td style=\"text-align: center;\"><span class=\"hint--bottom\" data-hint=\"Conditionally required\" markdown=\"1\"><img style=\"width: 25px;\" alt=\"Conditionally required\" src=\"\/user\/pages\/reuse\/image-library\/01.icons\/conditionally-required\/conditionally-required.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/span><\/td>\n<td style=\"text-align: left;\">You must define to which balance account to book the transaction fees associated with the payment.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-chargeback\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">chargeback<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define the chargeback logic.<br>You can book the entire disputed amount to your platform's liable balance account, your user's balance account, or split the disputed amount between the balance accounts specified in the original payment (with the same split ratio).<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-chargebackCostAllocation\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">chargebackCostAllocation<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define to which balance account to book the fees incurred by chargebacks.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-refund\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">refund<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define the refund logic.<br>You can book the entire refund amount to your platform's liable balance account, your user's balance account, or split the refund amount between the balance accounts specified in the original payment (with the same split ratio).<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-refundCostAllocation\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">refundCostAllocation<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define to which balance account to book the fees incurred by the refund.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-additionalCommission\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">additionalCommission<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define an additional fee as a commission for your user, booked directly to their balance account.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-remainder\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">remainder<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define to which balance account to book the amount left over after currency conversion.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-surcharge\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">surcharge<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define to which balance account to book surcharges.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/post\/merchants\/(merchantId)\/splitConfigurations#request-rules-splitLogic-tip\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">tip<\/a><\/td>\n<td style=\"text-align: center;\"><\/td>\n<td style=\"text-align: left;\">You can define to which balance account to book the gratuity.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"notices green\">\n<p>You must send <strong>all existing split instructions<\/strong> in the request you already set, not only the ones you want to update. All undefined split types are booked to your platform's liable balance account.<\/p>\n<\/div>\n<p>The following example shows how you can change the way payments are split if they meet the conditions of the split configuration rule. The previous split instruction was to apply an additional commission of a fixed amount of USD 0.01 + 0.1%, and here we show how to change that into a commission of a fixed amount of USD 1.00.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Update the split logic'\" :id=\"'update-split-logic'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations\\\/SCNF00000000000000000000001\\\/rules\\\/SCRL00000000000000000000001\\\/splitLogic\\\/SCLG00000000000000000000001 \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X PATCH \\\\\\n-d '{\\n    \\&quot;additionalCommission\\&quot;: {\\n      \\&quot;fixedAmount\\&quot;: 100,\\n      \\&quot;variablePercentage\\&quot;: 0,\\n      \\&quot;balanceAccountId\\&quot;: \\&quot;BA00000000000000000000001\\&quot;\\n    },\\n    \\&quot;chargeback\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n    \\&quot;commission\\&quot;: {\\n      \\&quot;fixedAmount\\&quot;: 100\\n    },\\n    \\&quot;paymentFee\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n    \\&quot;remainder\\&quot;: \\&quot;addToLiableAccount\\&quot;,\\n    \\&quot;tip\\&quot;: \\&quot;addToLiableAccount\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v38.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.updateSplitLogic(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, \\&quot;splitLogicId\\&quot;, updateSplitConfigurationLogicRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;updateSplitLogic('merchantId', 'splitConfigurationId', 'ruleId', 'splitLogicId', $updateSplitConfigurationLogicRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v32.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.UpdateSplitLogic(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, \\&quot;splitLogicId\\&quot;, updateSplitConfigurationLogicRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst updateSplitConfigurationLogicRequest = {\\n  additionalCommission: {\\n    fixedAmount: 100,\\n    variablePercentage: 0,\\n    balanceAccountId: \\&quot;BA00000000000000000000001\\&quot;\\n  },\\n  chargeback: \\&quot;deductFromLiableAccount\\&quot;,\\n  commission: {\\n    fixedAmount: 100\\n  },\\n  paymentFee: \\&quot;deductFromLiableAccount\\&quot;,\\n  remainder: \\&quot;addToLiableAccount\\&quot;,\\n  tip: \\&quot;addToLiableAccount\\&quot;\\n}\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.updateSplitLogic(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, \\&quot;splitLogicId\\&quot;, updateSplitConfigurationLogicRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.UpdateSplitLogicInput(\\&quot;merchantId\\&quot;,\\&quot;splitConfigurationId\\&quot;,\\&quot;ruleId\\&quot;,\\&quot;splitLogicId\\&quot;).UpdateSplitConfigurationLogicRequest(updateSplitConfigurationLogicRequest)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.UpdateSplitLogic(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;additionalCommission\\&quot;: {\\n    \\&quot;fixedAmount\\&quot;: 100,\\n    \\&quot;variablePercentage\\&quot;: 0,\\n    \\&quot;balanceAccountId\\&quot;: \\&quot;BA00000000000000000000001\\&quot;\\n  },\\n  \\&quot;chargeback\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n  \\&quot;commission\\&quot;: {\\n    \\&quot;fixedAmount\\&quot;: 100\\n  },\\n  \\&quot;paymentFee\\&quot;: \\&quot;deductFromLiableAccount\\&quot;,\\n  \\&quot;remainder\\&quot;: \\&quot;addToLiableAccount\\&quot;,\\n  \\&quot;tip\\&quot;: \\&quot;addToLiableAccount\\&quot;\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.update_split_logic(request=json_request, merchantId=\\&quot;merchantId\\&quot;, splitConfigurationId=\\&quot;splitConfigurationId\\&quot;, ruleId=\\&quot;ruleId\\&quot;, splitLogicId=\\&quot;splitLogicId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :additionalCommission =&gt; {\\n    :fixedAmount =&gt; 100,\\n    :variablePercentage =&gt; 0,\\n    :balanceAccountId =&gt; 'BA00000000000000000000001'\\n  },\\n  :chargeback =&gt; 'deductFromLiableAccount',\\n  :commission =&gt; {\\n    :fixedAmount =&gt; 100\\n  },\\n  :paymentFee =&gt; 'deductFromLiableAccount',\\n  :remainder =&gt; 'addToLiableAccount',\\n  :tip =&gt; 'addToLiableAccount'\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.update_split_logic(request_body, 'merchantId', 'splitConfigurationId', 'ruleId', 'splitLogicId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.updateSplitLogic(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, \\&quot;splitLogicId\\&quot;, updateSplitConfigurationLogicRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the full details of the updated split configuration profile, including the new <code>splitLogic<\/code> object that contains the updated instructions.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Split logic updated'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"cardRegion\\\": \\\"domestic\\\",\\n            \\\"currency\\\": \\\"USD\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"paymentMethod\\\": \\\"visa\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000001\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 0,\\n                    \\\"balanceAccountId\\\": \\\"BA00000000000000000000001\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG00000000000000000000001\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToLiableAccount\\\",\\n                \\\"tip\\\": \\\"addToLiableAccount\\\"\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000001\\\",\\n    \\\"stores\\\": [\\n        \\\"ST00000000000000000000001\\\",\\n        \\\"ST00000000000000000000002\\\"\\n    ]\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"update-description\">Change the description<\/h2>\n<p>You can only update the description of a split configuration profile by using the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Management API<\/a>.<\/p>\n<p>To update the description of a profile, make a PATCH  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/patch\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}<\/a> request with the ID of your merchant account and split configuration profile in the path, and the new <code>description<\/code> in the body.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Update the description'\" :id=\"'update-split-configuration-description'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations\\\/SCNF00000000000000000000001 \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X PATCH \\\\\\n-d '{\\n    \\&quot;description\\&quot;: \\&quot;Updated description for the split configuration profile\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v38.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nUpdateSplitConfigurationRequest updateSplitConfigurationRequest = new UpdateSplitConfigurationRequest()\\n  .description(\\&quot;Updated description for the split configuration profile\\&quot;);\\n\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.updateSplitConfigurationDescription(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, updateSplitConfigurationRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Management\\\\UpdateSplitConfigurationRequest;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$updateSplitConfigurationRequest = new UpdateSplitConfigurationRequest();\\n$updateSplitConfigurationRequest\\n  -&gt;setDescription(\\&quot;Updated description for the split configuration profile\\&quot;);\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;updateSplitConfigurationDescription('merchantId', 'splitConfigurationId', $updateSplitConfigurationRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v32.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nUpdateSplitConfigurationRequest updateSplitConfigurationRequest = new UpdateSplitConfigurationRequest\\n{\\n  Description = \\&quot;Updated description for the split configuration profile\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.UpdateSplitConfigurationDescription(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, updateSplitConfigurationRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst updateSplitConfigurationRequest = {\\n  description: \\&quot;Updated description for the split configuration profile\\&quot;\\n}\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.updateSplitConfigurationDescription(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, updateSplitConfigurationRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\nupdateSplitConfigurationRequest := management.UpdateSplitConfigurationRequest{\\n  Description: \\&quot;Updated description for the split configuration profile\\&quot;,\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.UpdateSplitConfigurationDescriptionInput(\\&quot;merchantId\\&quot;,\\&quot;splitConfigurationId\\&quot;).UpdateSplitConfigurationRequest(updateSplitConfigurationRequest)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.UpdateSplitConfigurationDescription(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;description\\&quot;: \\&quot;Updated description for the split configuration profile\\&quot;\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.update_split_configuration_description(request=json_request, merchantId=\\&quot;merchantId\\&quot;, splitConfigurationId=\\&quot;splitConfigurationId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :description =&gt; 'Updated description for the split configuration profile'\\n}\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.update_split_configuration_description(request_body, 'merchantId', 'splitConfigurationId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst updateSplitConfigurationRequest: Types.management.UpdateSplitConfigurationRequest = {\\n  description: \\&quot;Updated description for the split configuration profile\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.updateSplitConfigurationDescription(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, updateSplitConfigurationRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the full profile, including the updated description.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Description updated'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Updated description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"cardRegion\\\": \\\"domestic\\\",\\n            \\\"currency\\\": \\\"USD\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"paymentMethod\\\": \\\"visa\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000001\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 0,\\n                    \\\"balanceAccountId\\\": \\\"BA00000000000000000000001\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG00000000000000000000001\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToLiableAccount\\\",\\n                \\\"tip\\\": \\\"addToLiableAccount\\\"\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000001\\\",\\n    \\\"stores\\\": [\\n        \\\"ST00000000000000000000001\\\",\\n        \\\"ST00000000000000000000002\\\"\\n    ]\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"delete-rule\">Remove a rule<\/h2>\n<p>All split configuration profiles must contain at least one rule. Therefore, deleting the only rule in the profile is not possible. If you want to remove a rule but keep the profile, make sure the profile contains at least one other rule. Otherwise, <a href=\"#delete-profile\">delete the entire profile<\/a>.<\/p>\n<p>To remove a rule, make a DELETE  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/delete\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)\/rules\/(ruleId)\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}\/rules\/{ruleId}<\/a> request with the ID of your merchant account, split configuration profile, and rule in the path.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Delete a rule'\" :id=\"'delete-split-configuration-rule'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations\\\/SCNF00000000000000000000001\\\/rules\\\/SCRL00000000000000000000001 \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-X DELETE \\\\\\n-d&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v38.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.deleteSplitConfigurationRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;deleteSplitConfigurationRule('merchantId', 'splitConfigurationId', 'ruleId');&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v32.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.DeleteSplitConfigurationRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.deleteSplitConfigurationRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.DeleteSplitConfigurationRuleInput(\\&quot;merchantId\\&quot;,\\&quot;splitConfigurationId\\&quot;,\\&quot;ruleId\\&quot;)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.DeleteSplitConfigurationRule(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.delete_split_configuration_rule(merchantId=\\&quot;merchantId\\&quot;, splitConfigurationId=\\&quot;splitConfigurationId\\&quot;, ruleId=\\&quot;ruleId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.delete_split_configuration_rule('merchantId', 'splitConfigurationId', 'ruleId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.deleteSplitConfigurationRule(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, \\&quot;ruleId\\&quot;);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response returns the full details of the updated split configuration profile, including all remaining rules.<\/p>\n<h2 id=\"delete-profile\">Delete a profile<\/h2>\n<p>To delete a split configuration profile, make a DELETE  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Management\/latest\/delete\/merchants\/(merchantId)\/splitConfigurations\/(splitConfigurationId)\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}<\/a> request with the ID of your merchant account and split configuration profile in the path.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Delete the profile'\" :id=\"'delete-split-configuration'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/management-test.adyen.com\\\/v3\\\/merchants\\\/MC00000000000000000000001\\\/splitConfigurations\\\/SCNF00000000000000000000001 \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X DELETE \\\\\\n-d&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v38.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.management.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.management.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\\/\\\/ Send the request\\nSplitConfigurationMerchantLevelApi service = new SplitConfigurationMerchantLevelApi(client);\\nSplitConfiguration response = service.deleteSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v27.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Service\\\\Management\\\\SplitConfigurationMerchantLevelApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\\/\\\/ Send the request\\n$service = new SplitConfigurationMerchantLevelApi($client);\\n$response = $service-&gt;deleteSplitConfiguration('merchantId', 'splitConfigurationId');&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v32.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Management;\\nusing Adyen.Service.Management;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Send the request\\nvar service = new SplitConfigurationMerchantLevelService(client);\\nvar response = service.DeleteSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nconst { Client, ManagementAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.deleteSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v20.0.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v20\\\/src\\\/management\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Send the request\\nservice := client.Management()\\nreq := service.SplitConfigurationMerchantLevelApi.DeleteSplitConfigurationInput(\\&quot;merchantId\\&quot;,\\&quot;splitConfigurationId\\&quot;)\\nres, httpRes, err := service.SplitConfigurationMerchantLevelApi.DeleteSplitConfiguration(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.4.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.delete_split_configuration(merchantId=\\&quot;merchantId\\&quot;, splitConfigurationId=\\&quot;splitConfigurationId\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.2.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Send the request\\nresult = adyen.management.split_configuration_merchant_level_api.delete_split_configuration('merchantId', 'splitConfigurationId')&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v27.0.0\\nimport { Client, ManagementAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Send the request\\nconst managementAPI = new ManagementAPI(client);\\nconst response = managementAPI.SplitConfigurationMerchantLevelApi.deleteSplitConfiguration(\\&quot;merchantId\\&quot;, \\&quot;splitConfigurationId\\&quot;);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response contains all details of the deleted profile.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Deleted profile'\" :id=\"'deleted-split-profile'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"description\\\": \\\"Your description for the split configuration profile\\\",\\n    \\\"rules\\\": [\\n        {\\n            \\\"cardRegion\\\": \\\"domestic\\\",\\n            \\\"currency\\\": \\\"USD\\\",\\n            \\\"fundingSource\\\": \\\"ANY\\\",\\n            \\\"paymentMethod\\\": \\\"visa\\\",\\n            \\\"ruleId\\\": \\\"SCRL00000000000000000000001\\\",\\n            \\\"shopperInteraction\\\": \\\"ANY\\\",\\n            \\\"splitLogic\\\": {\\n                \\\"additionalCommission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 0,\\n                    \\\"balanceAccountId\\\": \\\"BA00000000000000000000001\\\"\\n                },\\n                \\\"chargeback\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"commission\\\": {\\n                    \\\"fixedAmount\\\": 100,\\n                    \\\"variablePercentage\\\": 100\\n                },\\n                \\\"splitLogicId\\\": \\\"SCLG00000000000000000000001\\\",\\n                \\\"paymentFee\\\": \\\"deductFromLiableAccount\\\",\\n                \\\"remainder\\\": \\\"addToLiableAccount\\\",\\n                \\\"tip\\\": \\\"addToLiableAccount\\\"\\n            }\\n        }\\n    ],\\n    \\\"splitConfigurationId\\\": \\\"SCNF00000000000000000000001\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2>See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/platforms\/online-payments\/split-transactions\"\n                        target=\"_self\"\n                        >\n                    Split online payments\n                <\/a><\/li><li><a href=\"\/platforms\/in-person-payments\/split-transactions\"\n                        target=\"_self\"\n                        >\n                    Split in-person payments\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/platforms\/automatic-split-configuration\/manage-split-configurations\/api","articleFields":{"description":"Learn how you can view, change, and delete the conditions and instructions in split configuration profiles.","feedback_component":true,"parameters":{"directoryPath":"\/platforms","model":"platform"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/platforms\/automatic-split-configuration\/manage-split-configurations\/api","title":"Manage split configuration profiles","content":"Using the  Management API, you can view and update the following details of your split configuration profiles:\n\nGet a list of all your split configuration profiles or the details of a specific profile.\nAdd a rule to or remove a rule from a profile.\nChange the description, conditions, or split logic of a rule.\nDelete a profile.\n\nRequirements\nTake into account the following requirements, limitations, and preparations for managing split configuration profiles.\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nYou must have a platform model integration on Adyen for Platforms.\n\n\nAPI credential roles\nYour  Management API credential must have the following role: Management API\u2014SplitConfiguration read and write\n\n\nLimitations\nThe card region condition is in pilot phase, and not yet available for all platforms.\n\n\nSetup steps\nYou must have the IDs of the resources you want to update (split configuration profile, rule, or split logic) at hand.\n\n\n\nGet a list of all profiles\nTo get the details of all split configuration profiles in your merchant account, make a GET  \/merchants\/{merchantId}\/splitConfigurations request with the ID of your merchant account in the path.\n\n    \n\nThe response contains the array of split configuration profiles in your merchant account.\n\n    \n\nGet profile details\nTo get the details of a specific split configuration profile, make a GET  \/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId} request with the ID of your merchant account and the profile in the path.\n\n    \n\nThe response contains the array of rules, conditions, and split instructions in the profile.\n\n    \n\nAdd a rule\nTo add a rule to an existing split configuration profile, make a POST  \/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId} request with the ID of your merchant account and the profile in the path.\nIn the body of the request, include the following fields:\n\n    \n\n\n\nParameter\nRequired\nDescription\n\n\n\n\n currency\n\nDefine whether the rule applies to a specific currency, or all currencies.\n\n\n paymentMethod\n\nDefine whether the rule applies to a specific payment method, or all payment methods associated with the store. You can differentiate between payment method variants as well, for example, configure different instructions for visagold and visasignature.\n\n\n cardRegion\n\nDefine whether the rule applies to transactions processed through a store that's registered in the same country\/region where the card was issued, in a different country\/region, or all transaction regardless of the processing and issuing location.Possible values:domesticinterRegionalintraRegionalinternationalANYThis condition is in pilot phase, and not yet available for all platforms.\n\n\n fundingSource\n\nDefine whether the rule applies only to payments initiated with a specific type of card, or all card types.\n\n\n shopperInteraction\n\nDefine whether the rule applies to a specific sales channel, or all channels.\n\n\n\n splitLogic\n\nDefine the split logic that is applied if the rule conditions are met. For instructions, see Optional configuration.\n\n\n splitLogic.commission\n\nDefine your platform's commission for the payments. This can be a fixed amount, a percentage, or both.\n\n\n splitLogic.additionalCommission\n\nDefine an additional fee as a commission for your user, booked directly to your user's balance account. This can be a fixed amount, a percentage, or both.\n\n\n\n\n\n\nOptional configuration\nBased on which optional parameters you include in the  splitLogic object, you can define to which balance account to book:\n\nThe different types of transaction fees associated with the payment.\nPotential refunds, chargebacks, and their associated fees.\nThe remaining amount after currency conversion for online payments.\nThe tips and surcharges for in-person payments.\n\nYou can define any or all of these parameters in the splitLogic object of the split configuration profile.\n\n    \n    \n        \n            \n            \n                                    Book transaction fees\n                            \n        \n        \n            \nTo book the transaction fees associated with the payment to different balance accounts, you must include at least one of the following parameters in the  splitLogic object:\n\n\n\nParameter\nRequired\nDescription\nLimitation\n\n\n\n\n paymentFee\n\nRequired if you don't send any other fee type.Define to which balance account to book the aggregated amount of all transaction fees associated with the payment.\nCannot be combined with any other fee type.\n\n\n adyenFees\n\nRequired if you send aquiringFees.Define to which balance account to book the aggregated amount of Adyen's Commission and Markup for the payment.\nCannot be combined with fee types on a different level: paymentFee, interchange, schemeFee, adyenCommission, or adyenMarkup.\n\n\n acquiringFees\n\nRequired if you send adyenFees.Define to which balance account to book the aggregated amount of the Interchange and Scheme fees associated with the payment.\nCannot be combined with fee types on a different level: paymentFee, interchange, schemeFee, adyenCommission, or adyenMarkup.\n\n\n adyenCommission\n\nRequired if you send interchange, schemeFee, or adyenMarkup.  Define to which balance account to book the Adyen's commission for the payment.\nCannot be combined with fee types on a different level: paymentFee, adyenFees, or aquiringFees.\n\n\n adyenMarkup\n\nRequired if you send interchange, schemeFee, or adyenCommission.Define to which balance account to book the Adyen's markup for the payment.\nCannot be combined with fee types on a different level: paymentFee, adyenFees, or aquiringFees.\n\n\n interchange\n\nRequired if you sendschemeFee, adyenCommission, or adyenMarkup.Define to which balance account to book the Interchange associated with the payment.\nCannot be combined with fee types on a different level: paymentFee, adyenFees, or aquiringFees.\n\n\n schemeFee\n\nRequired if you sendinterchange, adyenCommission, or adyenMarkup.Define to which balance account to book the Scheme fees associated with the payment.\nCannot be combined with fee types on a different level: paymentFee, adyenFees, or aquiringFees.\n\n\n\nYou can send the following combinations in the splitLogic array:\n\npaymentFee\naquiringFees and adyenFees\ninterchange, schemeFee, adyenCommission, and adyenMarkup\n\nFor example, to create a split configuration profile that books the Interchange and Scheme fees to the user's balance account, and every other fee type to your platform's liable balance account, send the following request:\n\n    \n\nThe response returns the following resources:\n\n splitConfigurationId&#58; The unique identifier of the split configuration profile.\n ruleId&#58; The unique identifier of the split configuration rule.\n splitLogicId&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.\n\nYou will need these IDs when you want to change the details of the split configuration profile.\n\n    \n\n\n        \n    \n\n\n\n    \n    \n        \n            \n            \n                                    Book refunds and chargebacks\n                            \n        \n        \n            \nTo define the split instructions for potential refunds, chargebacks, and the fees incurred by them, you can include the following parameters in the  splitLogic object.\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\n refund\n\nDefine the refund logic:You can book the entire refund amount to your platform's liable balance account or to your user's balance account.You can split the refund amount between the balance accounts specified in the original payment (with the same split ratio).If the associated store processes multiple partial captures, you must not set the refund logic to deductAccordingToSplitRatio.Required if you want set refundCostAllocation.\n\n\n refundCostAllocation\n\nDefine to which balance account to book the fees incurred by the refund.\n\n\n chargeback\n\nDefine the chargeback logic:You can book the entire disputed amount to your platform's liable balance account or to your user's balance account.You can split the disputed amount between the balance accounts specified in the original payment (with the same split ratio).Required if you want set chargebackCostAllocation.\n\n\n chargebackCostAllocation\n\nDefine to which balance account to book the fees incurred by the chargeback.\n\n\n\nIn the following example, we create a split configuration profile that books:\n\nThe refund amount to your user's balance account.\nThe fees incurred by refunds to your liable balance account.\nThe chargeback amount according to the original payment's split ratio.\nThe fees incurred by chargebacks to your liable balance account.\n\n\n    \n\nThe response returns the following resources:\n\n splitConfigurationId&#58; The unique identifier of the split configuration profile.\n ruleId&#58; The unique identifier of the split configuration rule.\n splitLogicId&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.\n\nYou will need these IDs when you want to change the details of the split configuration profile.\n\n    \n\n\n        \n    \n\n\n\n    \n    \n        \n            \n            \n                                    Book remaining amounts\n                            \n        \n        \n            \nTo define to which balance account to book the leftover amount after currency conversion, include the  remainder parameter in the  splitLogic object.\nIn the following example, we book the leftover amount to your user's balance account.\n\n    \n\nThe response returns the following resources:\n\n splitConfigurationId&#58; The unique identifier of the split configuration profile.\n ruleId&#58; The unique identifier of the split configuration rule.\n splitLogicId&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.\n\nYou will need these IDs when you want to change the details of the split configuration profile.\n\n    \n\n\n        \n    \n\n\n\n    \n    \n        \n            \n            \n                                    Book tips and surcharges\n                            \n        \n        \n            \n\nSurcharges can only be configured for payments initiated in Australia and New Zealand. You can join a pilot in Canada, Europe, and the United States.\n\nTo define the split instructions for potential tips and surcharges, you can include the following parameters in the  splitLogic object:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\n surcharge\n\nDefine to which balance account to book surcharges.\n\n\n tip\n\nDefine to which balance account to book the gratuity.\n\n\n\nIn the following example, we create a split configuration profile that books both the tip and surcharge to your user's balance account.\n\n    \n\nThe response returns the following resources:\n\n splitConfigurationId&#58; The unique identifier of the split configuration profile.\n ruleId&#58; The unique identifier of the split configuration rule.\n splitLogicId&#58; The unique identifier of the split instructions that are applied when the predefined conditions are met.\n\nYou will need these IDs when you want to change the details of the split configuration profile.\n\n    \n\n\n        \n    \n\n\nThe following example shows how you can add a new rule to an existing profile.\n\n    \n\nThe response returns the full details of the updated split configuration profile, including the ruleId of the new rule in the rules array.\n\n    \n\nChange the conditions\nYou can update the conditions that determine whether the payment is split automatically by modifying the rule in the profile. For more information on these conditions, see Rule conditions.\nTo change the conditions of a rule, make a PATCH  \/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}\/rules\/{ruleId} request with the following path parameters:\n\n\n\nPath parameters\nRequired\nDescription\n\n\n\n\n merchantId\n\nThe unique identifier of your merchant account.\n\n\n splitConfigurationId\n\nThe unique identifier of the split configuration profile you want to update.\n\n\n ruleId\n\nThe unique identifier of the rule whose conditions you want to update.\n\n\n\nIn the body of the request, include the following fields:\n\n    \n\n\n\nParameter\nRequired\nDescription\n\n\n\n\n currency\n\nYou must define whether the rule applies to a specific currency, or all currencies.\n\n\n paymentMethod\n\nYou must define whether the rule applies to a specific payment method, or all payment methods associated with the store. You can differentiate between payment method variants as well, for example, configure different instructions for visagold and visasignature.\n\n\n cardRegion\n\nDefines whether the rule applies to transactions processed through a store that's registered in the same country\/region where the card was issued, in a different country\/region, or all transaction regardless of the processing and issuing location.Possible values:domesticinterRegionalintraRegionalinternationalANY\n\n\n fundingSource\n\nYou must define whether the rule applies only to payments initiated by a specific type of card, or any card types.\n\n\n shopperInteraction\n\nYou must define whether the rule applies to a specific sales channel, or all channels.\n\n\n\n\n\n\n\nYou must send all conditions in the request, not only the ones you want to update.\n\nThe following example shows how you can change the conditions that define whether the payment is split according to the instructions defined in the split configuration profile.\n\n    \n\nThe response returns the full details of the updated split configuration profile, including the rule with the updated conditions.\n\n    \n\nChange the split logic\nYou can change the way a transaction is split between the balance accounts of your platform by modifying the split logic of the rule.\nTo change the split logic used in a rule, make a PATCH  \/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}\/rules\/{ruleId}\/splitLogic\/{splitLogicId} request, specifying the following path parameters:\n\n\n\nPath parameters\nRequired\nDescription\n\n\n\n\n merchantId\n\nThe unique identifier of your merchant account.\n\n\n splitConfigurationId\n\nThe unique identifier of the split configuration profile you want to update.\n\n\n ruleId\n\nThe unique identifier of the rule whose split logic you want to update.\n\n\n splitLogicId\n\nThe unique identifier of the split logic object you want to update.\n\n\n\nIn the body of the request, include the following fields:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\n commission\n\nYou must define the commission fee for the payments. This can be a fixed amount, a percentage, or both.\n\n\n paymentFeeor another transaction fee type\n\nYou must define to which balance account to book the transaction fees associated with the payment.\n\n\n chargeback\n\nYou can define the chargeback logic.You can book the entire disputed amount to your platform's liable balance account, your user's balance account, or split the disputed amount between the balance accounts specified in the original payment (with the same split ratio).\n\n\n chargebackCostAllocation\n\nYou can define to which balance account to book the fees incurred by chargebacks.\n\n\n refund\n\nYou can define the refund logic.You can book the entire refund amount to your platform's liable balance account, your user's balance account, or split the refund amount between the balance accounts specified in the original payment (with the same split ratio).\n\n\n refundCostAllocation\n\nYou can define to which balance account to book the fees incurred by the refund.\n\n\n additionalCommission\n\nYou can define an additional fee as a commission for your user, booked directly to their balance account.\n\n\n remainder\n\nYou can define to which balance account to book the amount left over after currency conversion.\n\n\n surcharge\n\nYou can define to which balance account to book surcharges.\n\n\n tip\n\nYou can define to which balance account to book the gratuity.\n\n\n\n\nYou must send all existing split instructions in the request you already set, not only the ones you want to update. All undefined split types are booked to your platform's liable balance account.\n\nThe following example shows how you can change the way payments are split if they meet the conditions of the split configuration rule. The previous split instruction was to apply an additional commission of a fixed amount of USD 0.01 + 0.1%, and here we show how to change that into a commission of a fixed amount of USD 1.00.\n\n    \n\nThe response returns the full details of the updated split configuration profile, including the new splitLogic object that contains the updated instructions.\n\n    \n\nChange the description\nYou can only update the description of a split configuration profile by using the  Management API.\nTo update the description of a profile, make a PATCH  \/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId} request with the ID of your merchant account and split configuration profile in the path, and the new description in the body.\n\n    \n\nThe response returns the full profile, including the updated description.\n\n    \n\nRemove a rule\nAll split configuration profiles must contain at least one rule. Therefore, deleting the only rule in the profile is not possible. If you want to remove a rule but keep the profile, make sure the profile contains at least one other rule. Otherwise, delete the entire profile.\nTo remove a rule, make a DELETE  \/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId}\/rules\/{ruleId} request with the ID of your merchant account, split configuration profile, and rule in the path.\n\n    \n\nThe response returns the full details of the updated split configuration profile, including all remaining rules.\nDelete a profile\nTo delete a split configuration profile, make a DELETE  \/merchants\/{merchantId}\/splitConfigurations\/{splitConfigurationId} request with the ID of your merchant account and split configuration profile in the path.\n\n    \n\nThe response contains all details of the deleted profile.\n\n    \n\nSee also\n\n\n                    Split online payments\n                \n                    Split in-person payments\n                \n","type":"page","locale":"pt","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Platforms","lvl2":"Split payments automatically","lvl3":"Manage split configuration profiles","lvl4":"Manage split configuration profiles"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/platforms","lvl2":"https:\/\/docs.adyen.com\/pt\/platforms\/automatic-split-configuration","lvl3":"https:\/\/docs.adyen.com\/pt\/platforms\/automatic-split-configuration\/manage-split-configurations","lvl4":"\/pt\/platforms\/automatic-split-configuration\/manage-split-configurations\/api"},"levels":5,"category":"Platforms","category_color":"green","tags":["Manage","split","configuration","profiles"]},"articleFiles":{"add-rule.js":"<p alt=\"\">add-rule.js<\/p>","delete-split-configuration-rule.js":"<p alt=\"\">delete-split-configuration-rule.js<\/p>","delete-split-configuration.js":"<p alt=\"\">delete-split-configuration.js<\/p>","get-a-profile.js":"<p alt=\"\">get-a-profile.js<\/p>","get-list-profiles.js":"<p alt=\"\">get-list-profiles.js<\/p>","update-rule-conditions.js":"<p alt=\"\">update-rule-conditions.js<\/p>","update-split-configuration-description.js":"<p alt=\"\">update-split-configuration-description.js<\/p>","update-split-logic.js":"<p alt=\"\">update-split-logic.js<\/p>"}}
