code: def reactivate(domain_name):
      '''
      Try to reactivate the expired domain name
  
      Returns the following information:
  
      - Whether or not the domain was reactivated successfully
      - The amount charged for reactivation
      - The order ID
      - The transaction ID
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'my-minion' namecheap_domains.reactivate my-domain-name
      '''
      opts = salt.utils.namecheap.get_opts('namecheap.domains.reactivate')
      opts['DomainName'] = domain_name
  
      response_xml = salt.utils.namecheap.post_request(opts)
  
      if response_xml is None:
          return {}
  
      domainreactivateresult = response_xml.getElementsByTagName('DomainReactivateResult')[0]
      return salt.utils.namecheap.xml_to_dict(domainreactivateresultf reactivate(domain_name):
      '''
      Try to reactivate the expired domain name
  
      Returns the following information:
  
      - Whether or not the domain was reactivated successfully
      - The amount charged for reactivation
      - The order ID
      - The transaction ID
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'my-minion' namecheap_domains.reactivate my-domain-name
      '''
      opts = salt.utils.namecheap.get_opts('namecheap.domains.reactivate')
      opts['DomainName'] = domain_name
  
      response_xml = salt.utils.namecheap.post_request(opts)
  
      if response_xml is None:
          return {}
  
      domainreactivateresult = response_xml.getElementsByTagName('DomainReactivateResult')[0]
      return salt.utils.namecheap.xml_to_dict(domainreactivateresult)
docs: Try to reactivate the expired domain name
  
      Returns the following information:
  
      - Whether or not the domain was reactivated successfully
      - The amount charged for reactivation
      - The order ID
      - The transaction ID
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'my-minion' namecheap_domains.reactivate my-domain-name