Split the closing of a Settlement Matrix in order to close a matrix without settling at the same time #3265
Closed
5 tasks done
Labels
vNext
vNext Platform Development (inline with RefArch)
vNext-Settlement
Stories and tasks related to the new Mojaloop Settlement component.
Goal:
As a
hub operatorI want to
be able toCLOSE
a batchso that
a batch may be closed without actioning the settling action, which will allow a hub operator to alternatively dispute aCLOSED
batchAcceptance Criteria:
closeSettlementMatrix
to only mark batches asCLOSED
and not perform the settlement actionexecuteSettlementMatrix
which will mark batches for a matrix asCLOSED
andSETTLED
(perform the settlement action)Complexity:
<Medium>
Uncertainty:
<Low>
N/A.Tasks:
Currently when
closeSettlementMatrix(secCtx: CallSecurityContext, id: string): Promise<void> {
function is invoked, the settlement batches will be closed as well as the settling process kicked off.Instead, the
closeSettlementMatrix(secCtx: CallSecurityContext, id: string): Promise<void> {
should onlyCLOSE
the batches for a matrix.A new function called
executeSettlementMatrix(secCtx: CallSecurityContext, id: string): Promise<void> {
should be introduced, which should:OPEN
batches for the matrixBackground:
Please see: mojaloop/mojaloop-specification#117
Done
Pull Requests:
mojaloop/settlements-bc#6
Follow-up:
Dependencies:
Accountability:
The text was updated successfully, but these errors were encountered: