Guides

Available Flows

Different types of supported offramp flows

Saber currently supports three offramp flows. These are referred to as:

  1. Sell: Pre-funded from the user's wallet
  2. Pool Sell: Pre-funded from the merchant's pool wallet
  3. External Sell: Post-funded from an external wallet within the specified settlement time. (Payout happens post settlement)

Sell

This is the simplest flow that involves funding the user's wallet directly. The available balance in the user's wallet is used to initiate the offramp. Once the offramp is triggered, the crypto balance in the user's wallet is deducted, and equivalent fiat is deposited into the registered bank account.

Flow of funds:

  1. Crypto Deposit to User Wallet on preferred network
  2. Initiate Offramp for the user
  3. Stablecoin is deducted from the user's wallet, and fiat is delivered to the user's bank account

Pool Sell

This flow involves maintaining a master pool of stablecoin reserves to fund all users. Instead of maintaining individual user wallets and individual crypto deposits to those wallets, a central wallet is maintained for all users.

Once the offramp for a user is triggered, the specified amount is deducted from the pool wallet and equivalent fiat is deposited into the user's bank account.

Flow of funds:

  1. Crypto Deposit to the Pool Wallet on the preferred network
  2. Initiate Offramp for the user
  3. Stablecoin is deducted from the pool wallet, and fiat is delivered to the user's bank account

This flow is very similar to the general sell flow, but optimises liquidity management on the merchant level through a centralised wallet.

๐Ÿ“˜

You need to ensure that sufficient balance is available in either user or pool wallet before initiating the offramp transaction.

External Sell

This is a complex flow involving the post-settlement of stablecoin.

An offramp quote needs to be generated before initiating a transaction. If the quote is favourable, the quote needs to be accepted within the quote expiry time (generally 60s).

Once the quote is accepted, the offramp transaction is initiated. The merchant then needs to deposit the required stablecoin within the settlement expiry time (generally 1 hour). Once the crypto deposit is done and confirmed by Saber, the fiat is delivered to the user's bank account.

Comparision

FactorSellPool Sell (Recommended)External Sell
Liquidity ManagementRequired on a per-transaction basis to the user's walletEasy to manage liquidity from a centrally funded pool.Required on a per-transaction basis to the given wallet
Crypto DepositRequired for each transactionPool wallet can be pre-funded to avoid making deposits on each transactionRequired for each transaction
Refund (in case of failure)Refunded to the user's walletRefunded to the pool walletRefunded to provided refund address (after network fee deduction)
Crypto Settlement TimeDepends on time taken by network for crypto transferInstant, if pool wallet is pre-fundedDepends on time taken by network for crypto transfer
FeeNetwork fee applicable on each deposit to user's walletNetwork fee is only applicable on deposits to pool wallet (can be done in bulk)Network fee applicable on each deposit
Quote ValidityExecuted on Market RateExecuted on Market RateQuote, if accepted, is valid for 1 hour
๐Ÿ“˜

Quote functionality will be soon introduced to other types (sell and pool sell) as well.

Quote validity can be increased or decreased based on business agreeement. A change quote expiry will however impact the quote.