code: def create_store_credit(cls, store_credit, **kwargs):
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('async'):
              return cls._create_store_credit_with_http_info(store_credit, **kwargs)
          else:
              (data) = cls._create_store_credit_with_http_info(store_credit, **kwargs)
              return data
docs: Create StoreCredit
  
          Create a new StoreCredit
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async=True
          >>> thread = api.create_store_credit(store_credit, async=True)
          >>> result = thread.get()
  
          :param async bool
          :param StoreCredit store_credit: Attributes of storeCredit to create (required)
          :return: StoreCredit
                   If the method is called asynchronously,
                   returns the request thread.