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

# 平台余额查询

## 功能说明

平台银行账户当前可用余额查询。

## 请求地址

`POST /balance/platform`

## 请求参数

| 字段             | 类型         | 必填 | 说明               |
| -------------- | ---------- | -- | ---------------- |
| `bank_acct_no` | string(32) | 是  | 平台银行账户，网商分配的银行账号 |

## 请求示例

```json theme={null}
{
  "bank_acct_no": "99030220910000699002"
}
```

## 响应参数

| 字段             | 类型     | 说明               |
| -------------- | ------ | ---------------- |
| `bank_acct_no` | string | 平台银行账户，网商分配的银行账号 |
| `currency`     | string | 币种，默认 CNY        |
| `amount`       | int    | 余额               |

## 响应示例

```json theme={null}
{
  "bank_acct_no": "99030220910000699002",
  "currency": "CNY",
  "amount": 7900
}
```

## 代码示例

```java theme={null}
XftMybankClient client = new DefaultXftMybankClient(
    "https://xhj-sit.91xft.cn/", "111111111111", "xvnYAUWB00jEdIrkdrt5CtQQNB1x4Jhl");
XftBalancePlatformRequest request = new XftBalancePlatformRequest();
request.setBankAcctNo("99030220910000699002");
XftBalancePlatformResponse response = client.execute(request);
```
