# Split Settlement

Split settlement allows a single payment to be automatically divided and settled into multiple accounts based on predefined rules. This is commonly used for marketplaces, platforms, or revenue-sharing models.

#### How It Works

When a payment is successfully processed, the total amount is split into multiple portions. Each portion is routed to a specified account according to the split configuration.

#### Split Modes

Each split settlement supports one of the following modes:

* **Fixed**\
  A fixed amount is allocated to each account.\
  The total fixed amount must not exceed the payment amount.
* **Percentage**\
  A percentage of the payment amount is allocated to each account.\
  The total percentage must not exceed 100%.

#### Validation Rules

* Split values are grouped by their mode (`fixed` or `percentage`)
* The sum of:
  * fixed values must be ≤ payment amount
  * percentage values must be ≤ 100
* Invalid split configurations will be rejected
