Overview
Treasury teams at fintechs, crypto-native companies, and Web3 businesses need a reliable way to hold stablecoin reserves, distribute liquidity to subsidiaries or partners, and execute fiat off-ramps on demand. StableStack provides a programmable treasury layer — multi-wallet infrastructure, fiat payouts to any bank, and full transaction visibility.Core Flow
Set up merchant-level wallets for each reserve
Create separate merchant wallets for different purposes (e.g., a USDC wallet on ERC20 for operational receipts, a USDC wallet on Polygon as a secondary reserve). No
customer_id is required for merchant wallets.View all wallets and balances
Get a consolidated view of all merchant wallets and their balances for treasury reporting.
Distribute funds to subsidiaries or partners
When disbursing to an entity with a crypto wallet, send directly to their stablecoin address.
Off-ramp to a bank account
Convert stablecoin reserves to fiat and pay directly into a bank account — useful for covering local operating expenses or settling invoices.
Treasury Architecture Pattern
A typical StableStack treasury setup uses layered wallets:wallet.transaction.inbound webhooks, giving your treasury system real-time visibility.
Key APIs Used
| Endpoint | Purpose |
|---|---|
POST /wallets | Create merchant wallets |
GET /wallets | View all wallets and balances |
GET /wallets/{wallet_id} | Get a specific wallet |
POST /payouts/wallets | Send stablecoin to an external wallet |
POST /payouts/banks | Off-ramp to a local bank account |
GET /transactions | Full transaction history |
GET /payouts/fees | Pre-check payout fees |
Relevant Webhook Events
| Event | Trigger |
|---|---|
wallet.transaction.inbound | Funds received into a wallet |
wallet.transaction.outbound | Funds sent from a wallet |
payout.completed | Bank or wallet payout confirmed |
payout.failed | Payout failed — requires retry |
Next Steps
- Authentication — Get your API key
- Webhook Security — Verify webhook signatures
- Stablecoin Coverage — Supported networks and assets