ADORSYS-GIS / ADORSYS-GIS/e2e-banking-app

User story 2: As a PowerPay user i will like to send Money To Another PowerPay User Using A choronko

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
user-story
Lingua principale
JavaScript
Stelle
9
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

1.Description

2.Sequence Diagram
```mermaid
sequenceDiagram
participant sender as sender
participant sc as sender choronko
participant rep as recipeint
participant rc as recipeint's choronko
participant pps as powerpay service
sender->>sc:enters information
sc->>pps:SMS(recipient Number & Amount )
pps->>pps:check Num&Balance
pps-->>sc:SMS(recipeint Name, amount, OTP)
sc-->>sender:display()
sender->>sc:Enter Pin
sc->>pps:SMS(pin,OTP)
pps->>pps:verify and execute transfer
pps-->>sc:SMS(successful message)
sc-->>sender:display()
pps-->>rc:SMS(successful transfer)
rc-->>rep:display()
```

3.WireFrame

![Image](https://github.com/ADORSYS-GIS/e2e-banking-app/assets/134822946/9323e5b5-3821-4534-a30a-99ee865c7a9d)

4.Ticket

* Implement the sendMoney(recPN, amount) function (REST API): Send money to another user and save the transaction into the database. Handle error cases corresponding error code to the user. This function returns a the recipient's name (data) and the amount of the transaction, plus the transaction (data).
* Implement the validateTransactionWithPin(transactionId, pin) function (REST API): Confirm a user's pin for a procedure.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.