Create Sub Account - coinexcom/coinex_exchange_api GitHub Wiki
Create Sub-Account
-
Request description: create sub-account
-
Request type: POST
-
Request Header: authorization:"xxxx"(32-digit capital letters, see generating method in <API invocation instruction>)
-
Request Url:https://api.coinex.com/v1/sub_account/register
-
Request parameter:
name type required description access_id String Yes access_id tonce Integer Yes Tonce is a timestamp with a positive Interger that represents the number of milliseconds from Unix epoch to the current time. Error between tonce and server time can not exceed plus or minus 60s sub_user_name String Yes the sub account name password String Yes at least 6 characters with at least 1 uppercase letter and 1 digit -
Example
# Request
POST https://api.coinex.com/v1/sub_account/register?access_id=4DA36FFC61334695A66F8D29020EB589&tonce=1513746038205&sub_user_name=foo&password=FOO2333
# Response
{
"code": 0,
"message", "Ok",
"data": {}
}