> ## Documentation Index
> Fetch the complete documentation index at: https://doc.haipay.net/llms.txt
> Use this file to discover all available pages before exploring further.

# 账户查询

**简要描述：**

* **查询当前业务对应账号的账户的余额**

**URL：**

currency为路径参数，需更换为要查询的币种，如美元：/usd/account/ledger

币种采用国际标准编码，三位英文字母，参考：[Wikipedia-ISO\_4217](https://en.wikipedia.org/wiki/ISO_4217)

`/{currency}/account/ledger`

**参数：**

| 参数名   | 必选 | 类型     | 说明                              |
| :---- | :- | :----- | :------------------------------ |
| appId | 是  | Long   | 业务ID（后台获取，需要根据URL中的币种传递对应的业务ID） |
| sign  | 是  | String | 签名                              |

**返回data参数说明**

| 参数名          | 类型     | 说明    |
| :----------- | :----- | :---- |
| bal          | String | 账户余额  |
| availableBal | String | 可用金额  |
| frzBal       | String | 冻结金额  |
| unSettleBal  | String | 待入账金额 |
| sign         | String | 签名    |

## 相关主题

* [公共接口概览](/docs/zh/api/version2/CommonApi)
* [HaiPay 接口说明与公共规则](/docs/zh/guide/api_description_guide)
