doc: use cases

This commit is contained in:
eneller
2026-07-30 17:30:46 +02:00
parent 0619428e07
commit b47cc5e90e
2 changed files with 19 additions and 1 deletions

19
docs/design/use-cases.md Normal file
View File

@@ -0,0 +1,19 @@
# Use Cases
## Pay someone
The client pays a business or peer by scanning their QR code or clicking their URL.
They are then shown the payment (send) screen that already contains the prefilled recipient and currency amount.
The client then confirms payment with a button and optional confirmation dialog.
## Request payment
The business requests payment from a client by sharing their URL / QR code.
The client proceeds with the `Pay someone` flow.
##
## Visitor
Visitors obtain access by receiving credentials of a predefined visitor account.
Upon login, they participate freely in the payment process as described by `Pay someone` and `Request payment`.
## Onboarding users
An administrator performs onboarding using a batch import feature that makes use of `.csv` or a similarly simple format.

View File

@@ -2,7 +2,6 @@ import { Table, Column, Model, DataType, Scopes, DefaultScope, DeletedAt, Belong
@Table @Table
@DefaultScope(() => ({ @DefaultScope(() => ({
//FIXME getting account still includes password
attributes:{ exclude: ['password']} attributes:{ exclude: ['password']}
})) }))
@Scopes(() => ({ @Scopes(() => ({