Skip to content

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

@stephane-segning

Description

@stephane-segning

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions