결제
청구 잔액
Get current balance information for the authenticated user. Returns remaining DIEM/USD balances and total DIEM epoch allocation for calculating usage percentage.
GET
/api/v1/billing/balance
balances는 diem과 usd만 보고합니다. 번들 크레딧은 숫자 필드로 표시되지 않습니다. 다음 요청이 번들 크레딧에서 차감될 경우 consumptionCurrency는 BUNDLED_CREDITS를 반환합니다. 남은 번들 크레딧 금액을 확인하려면 venice.ai/settings/api를 확인하세요. API가 DIEM, 번들 크레딧, USD 중에서 선택하는 방식은 VVV & DIEM을 참조하세요.인증
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
응답
Successful response
Current balance information for the authenticated user
Whether the user has sufficient balance to make API requests
예시:
true
The currency that will be used for consumption (DIEM or USD)
사용 가능한 옵션:
USD, VCU, DIEM, BUNDLED_CREDITS 예시:
"DIEM"
Total DIEM allocation for the current epoch (from staking). Use with balances.diem to calculate usage percentage.
예시:
100