Get/Create Internal Wallets
Wallet
Get/Create Internal Wallets
Retrieve or create custodial wallets managed by the Baanx platform
GET
Get/Create Internal Wallets
Overview
Internal wallets are custodial wallets where the Baanx platform securely manages private keys on behalf of users. Each wallet has a unique blockchain address for deposits, and users can create multiple wallets across different networks and currencies. Wallet Features:- Platform-managed private keys (custodial)
- Unique deposit addresses per currency/network
- Support for memo/destination tag networks (XRP, Stellar, etc.)
- Multi-currency and multi-network support
- Automatic balance tracking
- XRP Ledger (XRP)
- Stellar (XLM)
- Solana (SOL, USDC, USDT)
- Ethereum/EVM chains (ETH, USDC, USDT)
- And more (check platform documentation for current list)
GET - Retrieve Internal Wallets
Retrieve all custodial wallets for the authenticated user.Authentication
Your public API client key
Bearer token for authentication
Query Parameters
Route to US backend environment
Response
Returns an array of internal wallet objects.Unique identifier for the wallet
Current balance (decimal string)
Currency code (e.g., “xrp”, “usdc”, “sol”)
Blockchain address for deposits
Memo/destination tag (for XRP, Stellar, etc.)
Internal address identifier
Wallet type, always “INTERNAL”
Response Example
Code Examples
POST - Create Internal Wallets
Create new custodial wallets for specific network and currency combinations. You can create multiple wallets in a single request.Authentication
Your public API client key
Bearer token for authentication
Query Parameters
Route to US backend environment
Request Body
Array of wallet specifications to create
Response
Whether wallet creation was successful
Response Example
Code Examples
Deposit Instructions
When users want to deposit funds to an internal wallet, provide them with the appropriate address and memo information:Important Notes
Wallet Creation: Creating a wallet generates blockchain addresses and initializes tracking. This may take a few seconds. Poll GET endpoint to verify creation.
Edge Cases
Duplicate Wallet Creation
Attempting to create a wallet that already exists:- API typically returns success without creating duplicate
- Use GET endpoint first to check existing wallets
- Safe to retry wallet creation requests
Network-Currency Compatibility
Not all currency/network combinations are valid:Related Endpoints
- Withdraw from Internal Wallet - Send funds to external address
- Link Internal Wallet to Card - Use wallet for card payments
- Get Wallet History - View transaction history
- Whitelist External Addresses - Manage approved withdrawal destinations