Entity Balance API
Get Entity Balance
Retrieve the current balance for a specific entity:Supported Currencies
You can specify which currencies to query:Balance Components
Available Balance
Funds that can be used for payments and transactions
Currency Support
Multiple currencies supported (USD, EUR, etc.)
Precision
All amounts returned in cents for precision
Real-time
Balances updated in real-time from blockchain
Authorization Requirements
Different entity types have different authorization requirements:Team Balance Access
- Team Admin: Full access to team balance
- Team Finance Admin: Full access to team balance
- Team Viewer: Read-only access to team balance
- Team Employee: No access to team balance
Company Balance Access
- Company Owner: Full access to company balance
- Org Admin: Full access to company balance
- Org Finance Admin: Full access to company balance
- Org Viewer: Read-only access to company balance
User Balance Access
- User: Can only access their own balance
- Others: No access to user balance
Integration Example
Error Handling
Common errors when working with entity balances:Common Error Scenarios
Invalid Nanoid Format (400):Security Considerations
- Permission Validation: Ensure users have proper permissions to access entity balances
- Rate Limiting: Implement appropriate rate limiting for balance queries
- Audit Logging: Log all balance access for security auditing
Related Concepts
Entity Nanoid
Understanding nanoid identifiers
Teams
Team management concepts
Payments
Payment processing and flows
Permissions
Understanding access control
Balance Precision: All balance amounts are returned in cents to maintain precision. Convert to decimal format only when displaying to users.
