mojaloop / project

Repo to track product development issues for the Mojaloop project.
Other
22 stars 15 forks source link

Immediate settlement to support net settlement for a settlement model #3875

Open koekiebox opened 2 months ago

koekiebox commented 2 months ago

Currently a batch needs to be settled through a matrix, Settlement also needs to support a scenario where transfers are immediately settled as the transfers are received in Settlement. The settlement model configuration will delegate whether gross or net settlement scenarios should be used for the settlement model.

The processing will be updated to work as follows:

  1. Transfer is received in Settlement and allocated to a batch
  2. A new batch will be created if one doesn't already exists, the batch will be created in a SETTLED status
  3. The settlement matrix settle event will be fired at configured intervals in order to update POSITION and LIQUIDITY balances for the participant

Goal:

As a <stakeholder|persona>

I want to

so that

Acceptance Criteria:

Complexity: <High|Medium|Low> > A short comment to remind the reason for the rating

Uncertainty: <High|Medium|Low> > A short comment to remind the reason for the rating


Tasks:

Done

Pull Requests:

Follow-up:

Dependencies:

Accountability: