Verification on the user's capability for making deal
Description
No
Request code
OC_EXCHANGECHECKUSER
Request errors
Request code | Code meaning | Explanation |
---|---|---|
QE_NOT_MATCH | Not match | Invalid request signature |
QE_USER_NOT_FOUND | User not found | User was not found |
Request error
"Action":<OC_EXCHANGECHECKUSER>, "Data":{ "ID":<ExchangeID>, "Key":<RequestKey>, "User":<UserLogin> }
Where:
- ExchangeID - ExchangeID
- RequestKey - signature that is generated as follows: RequestKey=SHA1(<ExchangeID>+<APIKEY>+<UserLogin>)
- UserLogin - user login
Response body
"Status":"Success", "Data": { "Capable":<IsUserCapable> }
Where:
- IsUserCapable - boolean, meaning the user's capability for making deal