Open tellocan opened 11 months ago
userList
I tested successfully
$huobi=new HuobiSpot($key,$secret);
try {
$result=$huobi->subuser()->postCreation([
'userList'=>[
['userName'=>'aaaf54142h','note'=>'xxfdfs34'],
],
]);
print_r($result);
}catch (\Exception $e){
print_r(json_decode($e->getMessage(),true));
}
hey buddy thank you. If you put this type of documents in the test folder, it may help others.
Hello friend, I could not create a subuser. can you help me
`$huobi=new HuobiSpot($key,$secret);
try { $result=$huobi->subuser()->postCreation(['userList'=>['userName'=>'em02500','note'=>'m02500']]); print_r($result);
}catch (\Exception $e){ print_r(json_decode($e->getMessage(),true)); }`