Query
Parameters
Input parameters for credit balance query
Return Type
Returns aCreditBalanceSummary object with:
| Field | Type | Description |
|---|---|---|
balance | Float | Total credit balance |
effectiveBalance | Float | Available credits after reservations |
currency | String | Credit currency type |
customerId | String | Customer reference ID |
Common Use Cases
Display balance
Display balance
Show customers their current credit balance in your app.
Check before purchase
Check before purchase
Verify sufficient credits before allowing credit-based actions.
Low balance alerts
Low balance alerts
Monitor balance to trigger auto-recharge or alerts.
Related Operations
- Credit Grants - List grants
- Credit Ledger - Transaction history
- Create Credit Grant - Grant credits
