Get Credit Wallet Balance
Wallet
Get Credit Wallet Balance
Retrieve the authenticated user’s credit wallet balance and details
GET
Get Credit Wallet Balance
Overview
Credit wallets hold funds available for spending through the Baanx platform. This endpoint retrieves the current balance, currency, and withdrawal status of the authenticated user’s credit wallet. Balance updates reflect purchases, refunds, and withdrawals in real-time. Use Cases:- Display user’s available credit balance in your application
- Check if funds can be withdrawn before initiating withdrawal
- Monitor credit wallet status for transaction processing
- Verify sufficient balance before card operations
Authentication
Your public API client key that identifies your environment
Bearer token obtained from OAuth flow or direct login
Query Parameters
Set to
true to route request to US backend environment (if available for your client)Response
Unique identifier for the credit wallet
Current balance in the wallet (decimal string for precision)
Currency code (e.g., “usdc”, “usdt”)
Whether funds can be withdrawn from this wallet
Wallet type identifier, always “CREDIT” for this endpoint
Code Examples
Important Notes
Balance Precision: Balances are returned as strings to maintain precision for decimal values. Always parse as decimal types in your application, never as floating-point numbers.
Related Endpoints
- Withdraw from Credit Wallet - Initiate withdrawal to external wallet
- Estimate Credit Withdrawal Fees - Calculate network fees before withdrawal
- Get Wallet History - View transaction history for credit wallet