Check Balance

Check the remaining credits in your account.

get
授权
响应
201成功
application/json
get
GET /api/v2/check_balance HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
201成功
{
  "balance": 1
}

调用该API节点以查询账户剩余余额。

收费

调用该API节点以查询账户剩余余额不会收取任何费用。

请求

Authentication

此API使用密钥进行身份验证。您需要在所有请求的Authorization头中包含一个有效的密钥. 参阅Quickstart section获取您的账户的API生成密钥。

Authorization: Bearer RODIN_API_KEY

响应

JSON响应包含以下字段。

Property
Type
Description

balance

int

Balance of account.

Examples

export RODIN_API_KEY="your api key"
curl --location 'https://api.hyper3d.com/api/v2/check_balance' \
--header 'Authorization: Bearer JWT'
unset RODIN_API_KEY

最后更新于

这有帮助吗?