WaaS
WaaS Business Flow
Understand core WaaS business flows for deposit, payout, and collection.
This page explains the end-to-end WaaS capital flow and callback timing for deposits, payouts, and collections.
API Reference
End-to-End WaaS Flow
In WaaS, your system focuses on business ledgers and idempotent processing, while Cregis handles custody, risk controls, and blockchain execution.
Empty Mermaid Diagram
Deposit Flow Key Points
- Generate and bind deposit addresses per user or account through API.
- Verify callback signature before crediting balances.
- Use
cidortxidfor idempotent processing. - Return HTTP 200 with plain text
successimmediately after successful processing.
Payout Flow Key Points
- Use a unique
third_party_idas your business idempotency key. - Persist returned
cidfor tracking and reconciliation. - Terminal statuses are mutually exclusive; one request ends in exactly one final status.
Collection Flow Key Points
- Use collection to sweep funds from scattered deposit addresses to your treasury wallet.
- Validate source address status before triggering collection.
- If amount is omitted, the API may collect the full available balance.