GET /internal/wallets/balance
内部服务调用查询余额接口,返回钱包可用余额和冻结余额
钱包服务 - 内部接口 None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
user_id |
query |
string |
Yes |
|
|
|
用户ID |
Referenced Schemas
dto.BalanceResponse
钱包余额信息
| Field | Type | Required | Example | Constraints | Description |
available_balance |
string |
No |
900.00 |
|
可用 |
balance |
string |
No |
1000.00 |
|
余额 |
frozen_balance |
string |
No |
100.00 |
|
冻结 |
wallet_id |
string |
No |
wlt_abc123 |
|
钱包ID |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|