User Account Balance
Path:/hypercard/sdk/merchant/balance/user
Method:POST
Content-Type:application/json
Response Content-Type:application/json
Description:
Example Request:
{
"coin": "usdt",
"user_identifier": "hypercard@legend.tech"
}
Request Parameter:
Parameter Name | Type | Required | Description |
---|---|---|---|
coin | string | false | Coin type name; Maximum 20 characters |
user_identifier | string | true | User unique identifier; Maximum 64 characters |
API Response:
Parameter Name | Description | Type |
---|---|---|
code | Error code | string |
data | object | Data object for this respond |
amount | Available Balance for this coin | string |
coin | Coin type name | string |
freeze_amount | Freeze Amount for this coin | string |
total_amount | Balance for this coin | string |
msg | Error message | string |
Example Response:
{
"code": "00000",
"data": [
{
"amount": "50.88888888",
"coin": "usdt",
"freeze_amount": "50",
"total_amount": "100.88888888"
}
],
"msg": "ok"
}