Refira / Security

Money software, built like it.

Refira is multi-tenant financial infrastructure. Isolation, authentication, encryption and reconciliation are properties of the system, not slides. Here is what is actually true.

/00

The money path

Every payout crosses the same guarded path. Nothing skips a step.

01 Calculated
Commission
from the real ledger
02 Scored
Risk gate
held if high risk
03 Ready
Review or auto
by your policy
04 Step-up
TOTP required
before execution
05 Broadcast
On-chain, idempotent
tx hash recorded
06 Reconciled
Re-checked
against the chain
/01
Tenant isolation

No operator can read another's data.

Every casino is a tenant. Storage keys are scoped by tenant id, resolved from host, subdomain or session. The default tenant keeps unprefixed keys so production is unchanged, and every other tenant is fully namespaced.

Resolutionhost / subdomain / session
Storageauto-scoped by tenant id
Cross-tenantstructurally impossible via a key
/02
Authentication

Accounts, roles, and step-up.

Per-tenant operator accounts with scrypt password hashing and HMAC sessions carrying tenant and role. Roles are owner, finance and marketing. TOTP two-factor is required as a step-up before a payout executes.

Hashingscrypt
SessionsHMAC, tenant + role
Step-upTOTP before payout
/03
Secret storage

Keys are encrypted at rest.

A casino's own API keys are AES-GCM encrypted at rest, never stored in plain text and never returned. Custodial wallet keys come from a pluggable provider, KMS-ready. The publishable key is the only one that reaches the browser.

EncryptionAES-256-GCM at rest
Key providerenv today, KMS-ready seam
Exposurepublishable key only, browser-safe
/04
Money execution

Idempotent, fail-closed.

A payout id can never produce two transactions. The tx hash is written before broadcast, so a retry re-checks the chain instead of re-sending. Rate limiting on the money executor is fail-closed: if in doubt, it refuses.

Idempotencyhash written before broadcast
Rate limitsfail-closed on money
Gasoperator-funded, never Refira
/05
Reconciliation, audit, monitoring

Provable after the fact.

Broadcast payouts are re-checked against the chain on a schedule and stuck ones flagged. Every state change is appended to an audit log with actor and reason. Monitoring watches for low gas and failed or stuck payouts, and the ledger is backed up with keys stripped.

Reconcilescheduled, chain-verified
Auditevery change, actor + reason
Monitoringlow gas, failed, stuck
Backupsrestorable, keys stripped
Custody, your choice

Custodial or your own Safe.

Refira never pays gas for you, and never moves what you have not funded.

Book a demo ->