Back to user guide

Technical docs

Persistence

Data model

Prisma models on MongoDB: identity, payments, vault, and compliance data.

Prisma is the ORM over MongoDB (relationMode = "prisma"). Identity is wallet or Privy based; businesses own all payment and compliance data.

ModelPurpose
AppUser / MembershipPrivy users and their RBAC role on a business
BusinessWorkspace: profile, tier, widgets, vault config
LinkedWalletStellar wallets bound to a business
AuthChallengeOne time SEP 53 sign in challenges (10 min TTL)
PaymentLinkCollect links + attribution memo + ZK nullifier
PendingPaymentMemoDark pool one time memo hash for attribution
OutgoingPayment / WithdrawalPool payouts and spent nullifiers
BusinessEmployee(Payment)Team roster and payroll history
DocumentVaultItemSaved compliance checklists / documents
Hypertron
Onboard
000