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

Aberta
#35 0 comentários 0 reações 0 responsáveis Ver no GitHub
user-story
Linguagem predominante
JavaScript
Estrelas
9
Forks
23
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.