Skip to content

Generate QR code for BRL to EUR transfer #9

@prayagd

Description

@prayagd

As a user, I should be able to scan the generated QR code to make BRL to EUR transfer

Acceptance criteria

  • On /transfer, if all the filled input fields are correct, user should be able to confirm the transfer.
  • On clicking "Confirm" button
  • On /confirm
    • Show QR code
    • Below the QR code show text "Send XXX BRL to the above QR code, code valid for 10 minutes"
    • Show a "Done" button below the text
  • The QR code should expire after 10 minutes

LoFi wireframes

image

Technical Details

  • API
    • this requires a new endpoint
      • POST
      • the json body should contain all data entered by the user on this screen
      • the response is either
        • the data with the QR code
        • or some error message (e.g., the offramp provider could not process the offramp, e.g., due to KYC issues)
  • Backend
    • the implementation of the endpoint should submit the relevant data to the offramp provider (this needs to be a placeholder for now)
    • this will return some kind of id or an error
      • in case of an error return an appropriate error message or error code that can be interpreted by the UI (this needs to be a placeholder for now as it depends on the concrete offramp provider)
    • use the QR code API and submit the id and the relevant data of the user (see here for the necessary data)
    • return the QR code to the frontend
  • For more details refer this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions