Get Asset Information
Query the remaining assets for the current user, including available balance and withheld balance by asset type.
Request Method
- Method: GET
- Parameter style: Query
Request URL
https://api-server.compdf.com/server/v2/asset/info
Response Parameters
| Parameter | Data type | Description |
|---|---|---|
| tenantAsset | Array | Asset information list |
| assetTypeName | String | Asset type |
| asset | Integer | Asset balance |
| withholdingAsset | Integer | Total withheld assets |
Response Example
json
{
"code": "200",
"msg": "success",
"data": {
"tenantAsset": [
{
"assetTypeName": "SUBSCRIPTIONS",
"asset": 12,
"withholdingAsset": 0
},
{
"assetTypeName": "PACKAGES",
"asset": 1,
"withholdingAsset": 0
}
]
}
}Notes
assetindicates the currently available balance for the asset type.withholdingAssetindicates assets temporarily reserved by tasks that are being processed or have not yet settled.