createNewAccount

This method adds a new Loopia account and registers the domain that is used as username if this is provided in the method call.

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, 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 on buy=1 (ACE-coded if it is an IDN domain).
  • owner_contact
    contact
    Ownership details of the account / 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 the 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 and the end customer must have accepted any relevant agreement.
Was this article helpful?

Related Articles