cURL
curl --request GET \ --url https://apidev.nusd.me/nps/balance \ --header 'BIZ-API-KEY: <api-key>' \ --header 'Biz-Api-Nonce: <api-key>' \ --header 'Biz-Api-Signature: <api-key>'
{ "status": 0, "data": { "available": "4895.90", "hold": "4895.90" }, "msg": "<string>" }
获取指定钱包的余额
API Key,请求需在请求头中携带。
时间戳,请求需在请求头中携带。
签名串,请求需在请求头中携带。
钱包id
"e9167870-e18b-4e82-8b87-92ec7ede8e45"
请求成功,返回钱包余额
状态码,0 表示成功。
0
余额信息
Show child attributes
错误消息,status 非 0 时存在