Prepayment¶
Client can use prepayment reconcile api to reconcile prepayment with mark as success or mark as failure action.
| Prepayment Reconcile UML |
|---|
![]() |
Prepayment Reconcile UML Script¶
Client -> Prepayment Service: (1) Prepayment Reconcile (mark as success)
Prepayment Service -> Prepayment Service: Validate request
group Reconcile [Only For Timeout status]
Prepayment Service -> Iso Service: (1) send request to reconcile update
end
Iso Service --> Prepayment Service: Reconcile update response
Prepayment Service -> Prepayment Service: Update prepayment response
group Split settlement [Only For Successful reconcile response]
Prepayment Service -> Split Settlement Service: (2) request for split settlement
Split Settlement Service ->Iso Service : (3) request for split settlement fund transfer
Iso Service -> Bank Cbs : (4) Request split settlement fund transfer
Bank Cbs --> Iso Service: Fund transfer response
Iso Service --> Split Settlement Service: Fund transfer response
Split Settlement Service --> Prepayment Service: Fund transfer response
end
Prepayment Service --> Client: Prepayment reconcile Success/Failure response
Client -> Prepayment Service: (2) Prepayment Reconcile (mark as failure)
Prepayment Service -> Prepayment Service: Validate request
group Reconcile [Only For Timeout status]
Prepayment Service -> Iso Service: (1) send request to reconcile update
end
Iso Service --> Prepayment Service: Reconcile update response
Prepayment Service -> Prepayment Service: Update prepayment response
Prepayment Service --> Client: Prepayment reconcile Success/Failure response
UML Diagram Step Descriptions for Prepayment Reconcile¶
Prepayment Reconcile (Mark as Success)¶
A. Prepayment Reconcile Initiation¶
- Client → Prepayment Service: The client sends a request to the Prepayment Service to reconcile and mark the prepayment as successful.
Validate Reconcile Request¶
- Prepayment Service → Prepayment Service: The Prepayment Service validates the reconcile request.
Reconcile (Only For Timeout Status)¶
1.Send Request to Reconcile Update to ISO Service¶
- Prepayment Service → Iso Service: The Prepayment Service sends a request to the ISO Service to update the reconcile remarks and reconcile date.
- Iso Service → Prepayment Service: The ISO Service responds with the reconcile update status.
- Prepayment Service → Prepayment Service: The Prepayment Service updates the prepayment response based on the reconcile update.
Split Settlement (Only For Successful Reconcile Response)¶
2. Split Settlement Request to Split Settlement Service¶
- Prepayment Service → Split Settlement Service: The Prepayment Service sends a request for split settlement in split settlement service.
3. Split Settlement Fund Transfer Request to ISO Service¶
- Split Settlement Service → Iso Service: The Split Settlement Service requests a fund transfer request in the ISO Service.
4. Split Settlement Fund Transfer Request to Bank CBS¶
- Iso Service → Bank CBS: The ISO Service forwards the split settlement fund transfer request to the Bank CBS.
- Bank CBS → Iso Service: The Bank CBS responds with the result of the split settlement fund transfer.
- Iso Service → Split Settlement Service: The ISO Service sends the split settlement fund transfer response to the Split Settlement Service.
- Split Settlement Service → Prepayment Service: The Split Settlement Service sends the fund transfer response to the Prepayment Service.
Prepayment Reconcile Success/Failure Response¶
- Prepayment Service → Client: The Prepayment Service sends the final prepayment reconcile success or failure response back to the client.
Prepayment Reconcile (Mark as Failure)¶
1. Prepayment Reconcile Initiation¶
- Client → Prepayment Service: The client sends a request to the Prepayment Service to reconcile and mark the prepayment as failed.
Validate Reconcile Request¶
- Prepayment Service → Prepayment Service: The Prepayment Service validates the reconcile request.
Reconcile (Only For Timeout Status)¶
2. Send Request to Reconcile Update in ISO Service¶
- Prepayment Service → Iso Service: The Prepayment Service sends a request to the ISO Service to update the reconcile remarks and reconcile date.
- Iso Service → Prepayment Service: The ISO Service responds with the reconcile update status.
- Prepayment Service → Prepayment Service: The Prepayment Service updates the prepayment response based on the reconcile update.
Prepayment Reconcile Success/Failure Response¶
- Prepayment Service → Client: The Prepayment Service sends the final prepayment reconcile success or failure response back to the client.
