module Binance::Spot::Savings

def savings_purchase_flexible_product(productId:, amount:, **kwargs)

Other tags:
    See: https://binance-docs.github.io/apidocs/spot/en/#purchase-flexible-product-user_data -

Options Hash: (**kwargs)
  • :recvWindow (Integer) -- The value cannot be greater than 60000

Parameters:
  • kwargs (Hash) --
  • amount (Float) --
  • productId (String) --
def savings_purchase_flexible_product(productId:, amount:, **kwargs)
  Binance::Utils::Validation.require_param('productId', productId)
  Binance::Utils::Validation.require_param('amount', amount)
  @session.sign_request(:post, '/sapi/v1/lending/daily/purchase', params: kwargs.merge(
    productId: productId,
    amount: amount
  ))
end