更新时间:2024-01-15 GMT+08:00
查询账户余额
接口约束
客户查询自身的账户余额的时候,只允许使用客户自身的AK/SK或者Token调用。
调试
您可以在API Explorer中调试该接口。
URI
GET /v2/accounts/customer-accounts/balances
请求消息
请求参数
无。
请求示例
GET https://bss.myhuaweicloud.com/v2/accounts/customer-accounts/balances HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
响应消息
响应参数
响应示例
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "account_balances": [ { "account_id": "AT001017264D6E9FF7", "account_type": 1, "amount": 0, "currency": "CNY", "designated_amount": 0, "credit_amount": 0, "measure_id": 1 }, { "account_id": "AT001017264D6EA084", "account_type": 5, "amount": 0, "currency": "CNY", "designated_amount": 0, "credit_amount": 0, "measure_id": 1 } ], "debt_amount": 120.0, "measure_id": 1, "currency": "CNY" }
父主题: 管理账户