Path Parameters
The custom indicator value to look up the balance. This can be any unique identifier relevant to your application.Examples:
- Phone number:
+1234567890 - Email:
[email protected] - Account number:
ACC-12345 - Custom ID:
merchant_settlement_001
The currency code for the balance. Required because an indicator might be associated with multiple balances in different currencies.Example:
USD, EUR, NGNResponse
Returns a complete balance object matching the indicator and currency combination.Unique identifier for the balance.
The ledger ID this balance belongs to.
The identity ID associated with this balance.
The indicator value used to retrieve this balance.
The currency code for this balance.
The current balance amount (credit_balance - debit_balance). Returned as a big integer string.
Total credits applied to this balance.
Total debits applied to this balance.
Total balance currently in inflight transactions.
Credits currently in inflight status.
Debits currently in inflight status.
The precision multiplier for this balance.
Version number for optimistic concurrency control.
Whether fund lineage tracking is enabled.
The allocation strategy for fund lineage (FIFO, LIFO, or PROPORTIONAL).
ISO 8601 timestamp when the balance was created.
ISO 8601 timestamp when current inflight transactions expire.
Custom metadata attached to the balance.
Examples
Response Example
Use Cases
Mobile Money Wallets
Use phone numbers as indicators for mobile money balances:Email-Based Accounts
Retrieve balances using email addresses:Multi-Currency Support
The same indicator can have balances in multiple currencies:Internal Accounting
Use custom identifiers for internal ledger balances:Auto-Creation with Indicators
When using indicators in transactions, Blnk can automatically create balances if they don’t exist. This is particularly useful for:- Dynamic balance creation during transaction processing
- Simplified onboarding flows
- Internal system balances (prefixed with
@)
+254712345678 if it doesn’t exist.
Error Responses
Error message when the balance is not found or parameters are invalid.
404 Not Found: No balance exists with the specified indicator and currency combination400 Bad Request: Missing or invalid indicator or currency parameter