Skip to main content
GET
/
v1
/
users
/
me
/
balance
Check balance
curl --request GET \
  --url https://wisdom-gate.juheapi.com/v1/users/me/balance \
  --header 'Authorization: Bearer <token>'
{
  "available_balance": 123,
  "package_balance": 123,
  "cash_balance": 123,
  "token_balance": 123,
  "is_token_unlimited_quota": true
}

Overview

This endpoint allows you to check your available balance, package balance, cash balance, and token balance.
Auto-Generated DocumentationThe request parameters and response format are automatically generated from the OpenAPI specification. All parameters, their types, descriptions, defaults, and examples are pulled directly from openapi.json. Scroll down to see the interactive API reference.

Authorizations

Authorization
string
header
required

Bearer token authentication. Include your API key in the Authorization header as 'Bearer YOUR_API_KEY'

Response

Successful response containing balance information

available_balance
number
required

Total available balance (cash_balance + package_balance)

package_balance
number
required

Balance from purchased packages

cash_balance
number
required

Regular cash quota balance

token_balance
number
required

Available balance for the specific token used (if applicable)

is_token_unlimited_quota
boolean
required

Whether the token has unlimited quota