Skip to main content

Get end-user status

  • GET /api/v3/accountCenter/userStatus

Weight(IP): 5

Gets the restriction status of a specified end user. Currently, action=1 indicates the user's login/freeze status, and only 1 is supported.

Request parameters

ParameterTypeRequired?Description
subUserIdLongYesEnd-user UID.
actionIntegerYesRestriction action. 1 indicates login status. Currently, only 1 is supported.

Request example

curl "https://api-spot.weex.com/api/v3/accountCenter/userStatus?subUserId=1234567890&action=1" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1735632000000"

Response parameters

Field nameTypeDescription
subUserIdLongEnd-user UID.
actionIntegerRestriction action.
statusIntegerStatus. 1 = frozen. 0 = unfrozen.

Response example

{
"subUserId": 1234567890,
"action": 1,
"status": 0
}