public String create_child_account(Object data) {
        Gson gson = new Gson();
        String json = gson.toJson(data);
        return post("account", json);
    }
public String create_child_account ( Object data ) { Gson gson = new Gson ( ) ; String json = gson . toJson ( data ) ; return post ( "account" , json ) ; }
/*
Create Child Account.
@param {Object} data contains json objects as a key value pair from HashMap.
@options data {String} child_email: Email address of Reseller child [Mandatory]
@options data {String} password: Password of Reseller child to login [Mandatory]
@options data {String} company_org: Name of Reseller child’s company [Mandatory]
@options data {String} first_name: First name of Reseller child [Mandatory]
@options data {String} last_name: Last name of Reseller child [Mandatory]
@options data {Array} credits: Number of email & sms credits respectively, which will be assigned to the Reseller child’s account [Optional]
- email_credit {Integer} number of email credits
- sms_credit {Integer} Number of sms credts
@options data {Array} associate_ip: Associate dedicated IPs to reseller child. You can use commas to separate multiple IPs [Optional]