code: def notify_by(self, invoice_id, medium, **kwargs):
          
          Send/Resend notifications to customer via email/sms
  
          Args:
              invoice_id : Id for trigger notify
              medium : Medium for triggering notification via email or sms
  
          Returns:
              {"success": true}
          """
          url = "{}/{}/notify_by/{}".format(self.base_url, invoice_id, medium)
          return self.post_url(url, {}, **kwargs)
docs: Send/Resend notifications to customer via email/sms
  
          Args:
              invoice_id : Id for trigger notify
              medium : Medium for triggering notification via email or sms
  
          Returns:
              {"success": true}