Entity balance management in Rise tracks funds on the blockchain for users, teams, and companies. Every entity has an associated balance that can be queried using their unique identifier.Documentation Index
Fetch the complete documentation index at: https://v2-docs.riseworks.io/llms.txt
Use this file to discover all available pages before exploring further.
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:| HTTP Status | Description | Solution |
|---|---|---|
400 | Bad Request - Invalid nanoid format | Ensure nanoid follows correct format |
401 | Unauthorized - Invalid JWT token | Re-authenticate to get a valid JWT |
403 | Forbidden - Insufficient permissions | Check user permissions for the entity |
404 | Not Found - Entity doesn’t exist | Verify the nanoid exists in the system |
500 | Internal Server Error | Retry the request or contact support |
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.
