Identity boundary
A revocable server credential resolves exactly one workspace; callers do not select tenant context.
credential → workspace
Security / Target control model
The target design resolves every operation to one workspace and account, protects balance changes with balanced journals and reservations, and carries durable lifecycle Events through signed Webhook Deliveries.
account wallet + destination
credential → one workspace
workspace → user → account → wallet
available → reserved
event identity + delivery identity
01 / Boundary model
The target model resolves identity and ownership before money state changes, then separates durable product Events from their signed delivery transport.
A revocable server credential resolves exactly one workspace; callers do not select tenant context.
credential → workspace
Users, accounts, wallets, balances, transfers, and Events retain one workspace and account binding.
workspace → user → account
Finality, reservations, and balanced journals control when available or reserved amounts can change.
journal-backed state
A signed Webhook Delivery binds Event content, freshness, and delivery identity for receiver verification.
event + delivery signature
02 / Money-state controls
Crypto activity and customer balances are not treated as the same thing. Durable control points decide when a transfer can affect available or reserved funds.
| Operation | Target control | Durable effect |
|---|---|---|
| Inbound deposit | Finality + mapping + deduplication | One completed transfer, credit, and Event |
| Accepted withdrawal | Account-wallet gate + reservation | Available moves to reserved |
| Execution submission | Separate execution-liquidity gate | Reservation remains held |
| Terminal withdrawal | Definitive execution outcome | Completed consumes; failed releases |
03 / Operations and evidence
Execution callbacks, state transitions, operator actions, and reconciliation findings remain attributable. Uncertain or mismatched facts create durable exceptions; they never silently rewrite an account-wallet balance.
retain → decide → audit → reconcile
04 / Shared responsibility
The target processing layer protects its internal boundaries. Your application remains responsible for end-user access, business and compliance decisions, destination correctness, credential protection, and verified consumption.
Security evaluation