Check Balance
收费
请求
Authentication
响应
Property
Type
Description
Examples
最后更新于
这有帮助吗?
最后更新于
这有帮助吗?
这有帮助吗?
GET /api/v2/check_balance HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"balance": 1
}Authorization: Bearer RODIN_API_KEYexport RODIN_API_KEY="your api key"
curl --location 'https://api.hyper3d.com/api/v2/check_balance' \
--header 'Authorization: Bearer JWT'
unset RODIN_API_KEYimport requests
# Constants
ENDPOINT = "https://api.hyper3d.com/api/v2/check_balance"
API_KEY = "your api key" # Replace with your actual API key
# Prepare the headers
headers = {
'Authorization': f'Bearer {API_KEY}',
}
# Make the GET request
response = requests.get(ENDPOINT, headers=headers)
# Parse and return the JSON response
print(response.json())