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
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.
Withdrawal Restrictions: The isWithdrawable flag indicates whether funds can be withdrawn. Some credit wallets may have restrictions based on user verification status, pending transactions, or platform policies.