小七claw

查询余额

通过 Authorization 请求头中的 apiKey 查询用户余额;如果当前用户是贴牌老板,同时返回贴牌余额信息

GET/kyyReactApiServer/users/getBalance

查询余额

通过 Authorization 请求头中的 API Key 查询当前用户的余额信息。如果该 API Key 对应的账号是贴牌老板,接口会同时返回贴牌余额信息。
使用 Authorization 请求头传入 API Key:
cURL
Authorization: Bearer {{key}}

请求地址

http
GET https://zcbservice.aizfw.cn/kyyReactApiServer/users/getBalance

请求头

Authorizationheaderstring必填
Bearer token 认证信息,格式为 Bearer {{key}}。接口会根据该 API Key 查询对应用户的余额信息。

响应参数

totalRechargenumber
累计充值金额。
balancenumber
余额。
totalConsumenumber
累计消耗金额。
oemBalancesobject
贴牌老板的贴牌余额信息。非贴牌老板通常不返回该字段或返回为空。