获取顶层余额
GET
/web/v1/slash/connections/{connectionBizId}/balances/top-levelJWT获取 Slash 连接的顶层余额汇总,包括可用金额、待处理金额和总金额。
鉴权
需要有效的 JWT token。Portal 访问权限:system、tenant。
请求参数
| Name | Type | Required | In | Description |
|---|---|---|---|---|
connectionBizId | String | Yes | path | Slash 连接业务 ID。 |
成功响应
Not Found404
{
"code": "4040",
"message": "Connection not found"
}错误响应
| HTTP 状态码 | 错误码 | 描述 |
|---|---|---|
| 401 | 4010 | JWT token 无效或已过期 |
| 404 | 4040 | 连接未找到 |
说明
- 余额金额以货币的标准单位表示(例如美元以元为单位,非美分)。