- 福鑫OpenApi v2版本介绍
- 接入说明
- 接口文档
账户余额查询
GET
/v2/fx/trade/balance/list
请求参数
Header 参数
access_token
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sandbox-gateway.pingpongx.com/v2/fx/trade/balance/list' \
--header 'access_token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
array [object {3}]
必需
currency
string
币种
deposit_balance
number
冻结余额(预收手续费)
total
number
可用余额
message
string
必需
示例
{
"code": 0,
"data": [
{
"currency": "HKD",
"deposit_balance": 0,
"total": 783.54
},
{
"currency": "CHF",
"deposit_balance": 0,
"total": 0
},
{
"currency": "MXN",
"deposit_balance": 0,
"total": 0
},
{
"currency": "EUR",
"deposit_balance": 0,
"total": 19999.38
},
{
"currency": "DKK",
"deposit_balance": 0,
"total": 0
},
{
"currency": "USD",
"deposit_balance": 2.5,
"total": 94.74
},
{
"currency": "CAD",
"deposit_balance": 0,
"total": 0
},
{
"currency": "VND",
"deposit_balance": 0,
"total": 0
},
{
"currency": "AUD",
"deposit_balance": 0,
"total": 0
},
{
"currency": "SGD",
"deposit_balance": 0,
"total": 0
},
{
"currency": "JPY",
"deposit_balance": 0,
"total": 360156.41
},
{
"currency": "GBP",
"deposit_balance": 0,
"total": 0
},
{
"currency": "SEK",
"deposit_balance": 0,
"total": 0
},
{
"currency": "NZD",
"deposit_balance": 0,
"total": 0
},
{
"currency": "CNH",
"deposit_balance": 0,
"total": 957367.18
},
{
"currency": "BRL",
"deposit_balance": 0,
"total": 0
}
],
"message": "ok"
}
修改于 2024-05-28 08:12:46