code: def get_all_credit_notes(self, params=None):
          
          if not params:
              params = {}
          return self._iterate_through_pages(self.get_credit_notes_per_page, resource=CREDIT_NOTES, **{'params': params})
docs: Get all credit notes
          This will iterate over all pages until it gets all elements.
          So if the rate limit exceeded it will throw an Exception and you will get nothing
  
          :param params: search params
          :return: list