This method creates a new Loopia account and, if requested in the call, registers the domain name used as the username.
Syntax
create_account_status_obj = createNewAccount(username, password, domain, owner_contact, billing_contact_reseller, tech_contact_reseller, buy_domain, domain_configuration, account_type, end_user_has_accepted_terms)
Return value
create_account_status_obj. This method returns a struct of type create_account_status_obj.
Parameters
- username
string
Username for LoopiaAPI. - password
string
Password for LoopiaAPI. - domain
string
Username for the account to be created, and the domain to be registered when buy_domain=1 (ACE-coded if it is an IDN domain). - owner_contact
contact
Ownership details of the account and domain. - billing_contact_reseller
boolean
1 if the reseller is the billing contact, 0 if invoices should be sent directly to the customer. - tech_contact_reseller
boolean
1 if the reseller is the technical contact, 0 if technical information should be sent directly to the customer. - buy_domain
boolean
1 if the domain should be registered, 0 otherwise. - domain_configuration
domain_configuration
Domain configuration. - account_type
account_type
Account type. - end_user_has_accepted_terms
boolean
Must be 1; the end customer must have accepted any relevant agreement.