查询用户余额(Get The Balance)
GET
/user/get-balanceThere are two types of balances: one is the total balance, which is shared across all endpoints; the other is the remaining available count (generally used for test, gifts or compensation), which is specific to a certain endpoint. For example, if an account has a balance of 100 yuan and endpoint A has 1000 remaining uses, when endpoints A is used, it will first consume the remaining uses in the endpoint, and then consume the total balance.
余额有两种,一个是总余额,所有接口共用;另一种是剩余可用次数(一般为测试、赠送、补偿所用),针对某个接口。举个例子:账户有100块余额,且接口A剩余1000次可用次数,调用接口A后,会优先消耗接口中剩余的可用次数,然后在消耗总余额。
Request
Query Params
token
string
required
TOKEN
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
optional
message
string
optional
data
object (Object)
optional
recordTime
string
optional
Example
{
"code": 0,
"message": "",
"data": {},
"recordTime": ""
}
Last modified: 17 天前