Get Account Balance
Account
Get Account Balance
Retrieve your current account balance
GET
Get Account Balance
Overview
Get your current account balance in Algerian Dinar (DZD). The balance represents available funds that can be used for top-ups, orders, and other services.When your balance reaches a low threshold, a notification will be sent to your
registered email address.
Response
true for successful requestsExample Request
Example Response
Use Cases
Pre-Transaction Check
Verify sufficient funds before processing orders
Balance Display
Show current balance in your application UI
Low Balance Alerts
Monitor balance and alert when running low
Financial Reports
Track balance changes over time
Integration Examples
Pre-Transaction Validation
Balance Monitoring
Balance Caching
Best Practices
Check Before Transactions
Check Before Transactions
Always verify sufficient balance before initiating transactions
Cache Wisely
Cache Wisely
Cache balance for 30-60 seconds to reduce API calls
javascript // Cache balance but invalidate after transactions const balance = await balanceCache.getBalance(); await sendTopUp(...); balanceCache.invalidateCache(); // Refresh after transaction Handle Errors Gracefully
Handle Errors Gracefully
Implement proper error handling
Monitor Low Balance
Monitor Low Balance
Set up alerts for low balance
Error Responses
401 - Unauthorized
401 - Unauthorized
500 - Internal Server Error
500 - Internal Server Error
Related Endpoints
List Transactions
View transaction history
Send Mobile Top-Up
Send a mobile top-up

