> ## 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.

# Account Inquiry

> Query the balance of a business account by currency via /{currency}/account/ledger; the response returns account balance, available, frozen, and awaiting-settlement amounts.

**Brief Description:**

* **Query the balance of the account corresponding to the current business.**

**URL:**

The currency is a path parameter, which should be replaced by the currency you want to query, for example, for USD: `/usd/account/ledger`.

Currencies use the international standard code, three-letter uppercase code, refer to: [Wikipedia-ISO\_4217](https://en.wikipedia.org/wiki/ISO_4217)

`/{currency}/account/ledger`

**Parameters:**

| Parameter | Required | Type | Description |
| - | - | - | - |
| appId | Yes | Long | Business ID (obtained from the backend, must pass the corresponding business ID based on the currency in the URL) |
| sign | Yes | String | Signature |

**Response Data:**

| Parameter | Type | Description |
| - | - | - |
| bal | String | Account balance |
| availableBal | String | Available amount |
| frzBal | String | Frozen amount |
| unSettleBal | String | Amount awaiting settlement |
| sign | String | Signature |

## Related Topics

* [HaiPay API Description and Common Rules](https://doc.haipay.net/en/history/V20260801/get-started/api-conventions.md)
* [Common API — Account Query (POST /{currency}/account/ledger)](https://doc.haipay.net/en/history/V20260801/api-reference/common/account-query.md)
* [Common API — Merchant Payment Config (POST /common/payment/config)](https://doc.haipay.net/en/history/V20260801/api-reference/common/payment-config.md)
* [Get Merchant Payment Config](https://doc.haipay.net/en/history/V20260801/operations/merchant-payment-config.md)
* [Configure Merchant Keys and RSA Signature Rules](https://doc.haipay.net/en/history/V20260801/get-started/configuration-and-signatures.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.