module Binance::Spot::Fiat
def fiat_deposit_withdraw_history(transactionType:, **kwargs)
- See: https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History -
Options Hash:
(**kwargs)
-
:recvWindow
(Integer
) -- The value cannot be greater than 60000 -
:rows
(Integer
) -- default 100, max 500 -
:page
(Integer
) -- default 1 -
:endTime
(Integer
) -- If beginTime and endTime are not sent, the recent 30-day data will be returned. -
:beginTime
(Integer
) -- If beginTime and endTime are not sent, the recent 30-day data will be returned.
Parameters:
-
kwargs
(Hash
) -- -
transactionType
(String
) -- 0-deposit,1-withdraw
def fiat_deposit_withdraw_history(transactionType:, **kwargs) Binance::Utils::Validation.require_param('transactionType', transactionType) @session.sign_request(:get, '/sapi/v1/fiat/orders', params: kwargs.merge( transactionType: transactionType )) end
def fiat_payment_history(transactionType:, **kwargs)
- See: https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History -
Options Hash:
(**kwargs)
-
:recvWindow
(Integer
) -- The value cannot be greater than 60000 -
:rows
(Integer
) -- default 100, max 500 -
:page
(Integer
) -- default 1 -
:endTime
(Integer
) -- If beginTime and endTime are not sent, the recent 30-day data will be returned. -
:beginTime
(Integer
) -- If beginTime and endTime are not sent, the recent 30-day data will be returned.
Parameters:
-
kwargs
(Hash
) -- -
transactionType
(String
) -- 0-buy,1-sell
def fiat_payment_history(transactionType:, **kwargs) Binance::Utils::Validation.require_param('transactionType', transactionType) @session.sign_request(:get, '/sapi/v1/fiat/payments', params: kwargs.merge( transactionType: transactionType )) end