SDigital2SDigital2

Core Concepts

Understand the fundamental concepts of customers, bank accounts, transactions, and withdrawals in the SDigital2 API

Overview

The SDigital2 API is built around several core concepts that work together to enable cryptocurrency-to-fiat and fiat-to-cryptocurrency conversions. Understanding these concepts is essential for building effective integrations.

Core Concepts

Common Integration Flow

  1. List Customers - Get available customers for your organization
  2. Check Balances - Verify customer balances across chains
  3. Get Exchange Rate - Lock in favorable rates for transactions
  4. Create Transaction - Execute on-ramp or off-ramp operations
  5. Monitor Progress - Track transaction status until completion
  6. Handle Withdrawals - Move crypto to external wallets as needed

Best Practices

Rate Management:

  • Always use exchange rate locking for price certainty
  • Choose appropriate lock durations based on your UX flow
  • Handle quote expiration gracefully

Balance Management:

  • Check customer balances before creating transactions
  • Account for network fees in withdrawal calculations
  • Implement balance refresh mechanisms