Update the split logic

PATCH {{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId

Changes the split logic specified in the path. To make this request, your API credential must have the following role: * Management API - SplitConfiguration read and write

Request Body

{"additionalCommission"=>{"fixedAmount"=>100, "variablePercentage"=>0, "balanceAccountId"=>"BA3227C223222H5HQ2XX77VVH"}, "chargeback"=>"deductFromLiableAccount", "commission"=>{"fixedAmount"=>100, "variablePercentage"=>100}, "paymentFee"=>"deductFromLiableAccount", "remainder"=>"addToLiableAccount", "tip"=>"addToLiableAccount"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"description":"Your description for the split configuration","rules":[{"currency":"ANY","fundingSource":"ANY","paymentMethod":"ANY","ruleId":"SCRL4224P22322585HPCX384JW65VW","shopperInteraction":"ANY","splitLogic":{"additionalCommission":{"fixedAmount":10,"variablePercentage":50,"balanceAccountId":"BA3227C223222H5HQ2XX77VVH"},"chargeback":"deductFromLiableAccount","commission":{"fixedAmount":10,"variablePercentage":100},"splitLogicId":"SCLG4224P22322585HPCX384JX52M2","paymentFee":"deductFromLiableAccount","remainder":"addToOneBalanceAccount","tip":"addToOneBalanceAccount"}},{"currency":"EUR","fundingSource":"ANY","paymentMethod":"visa","ruleId":"SCRL4224P22322585HPCX5V4KV6L2R","shopperInteraction":"ANY","splitLogic":{"additionalCommission":{"fixedAmount":100,"variablePercentage":0,"balanceAccountId":"BA3227C223222H5HQ2XX77VVH"},"chargeback":"deductFromLiableAccount","commission":{"fixedAmount":100,"variablePercentage":100},"splitLogicId":"SCLG4224P22322585HPCX5V4KW26C9","paymentFee":"deductFromLiableAccount","remainder":"addToLiableAccount","tip":"addToLiableAccount"}}],"splitConfigurationId":"SCNF4224P22322585HPCX384JV6JGX"}