Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stephane-segning opened this issue Mar 1, 2024 · 0 comments

Comments

@stephane-segning
Copy link
Contributor

1.Description

2.Sequence Diagram

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()
Loading

3.WireFrame

Image

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant