Create a new account, linked to your main account (requires additional permissions on your account, please contact Text Marketer to apply).
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Hashtable<String, String> account; account = tmClient.createSubAccount("My Client", "447000000000", "notifications@myclient.com", "newusername", "newpassword", "PROMOCODE", true); System.out.println("Account ID: " + account.get("account_id")); |