# 4、查询余额
请求方式: GET
请求 URL: /api/v3/bra/query/balance
请求头 Header:
Content-Type: application/json;charset=utf-8
请求头参数:
Param | Desc | Sample |
---|---|---|
access_key | 商户后台获取 | pFqV75X3 |
timestamp | Unix 时间戳 13 位 毫秒 | 1679724896223 |
nonce | UUID V4 | 794c26b0-d33c-4394-b2bb-c485eca16d9e |
sign | 计算出来的签名 | kAXyh+eerqrefyaF8dyFB0M4FVo= |
响应示例:
{
"code": "200",
"success": true,
"msg": "成功",
"msgEn": "SUCCESS",
"data": [{
"accountBalance": "76.35",
"accountFreezeAmount": "0",
"accountStatusId": 4,
"accountWaitSettledAmount": "0",
"currencyType": "BRL",
"accountStatus": "InAndOut"
}]
}
响应参数说明
Param | Type | Desc |
---|---|---|
accountBalance | String | 账户可用余额 |
accountFreezeAmount | String | 账户冻结金额 |
accountStatusId | int64 | 账户状态 id,枚举值:1,2,3,4 |
accountStatus | String | 账户状态,枚举值:1=Freeze 2=In 3=Out 4=InAndOut |
accountWaitSettledAmount | String | 账户待划转金额 |
currencyType | String | 法币类型,枚举值:BRL |
accountStatus | String | 账户状态,枚举值:InAndOut |