Module: Lanmao::Api::Money::CancelWithdraw

Defined in:
lib/lanmao/api/money/cancel_withdraw.rb

Instance Method Summary collapse

Instance Method Details

#cancel_withdraw(flow_id, pre_transaction_no) ⇒ Object

  • :status [Enum]

    * :errorCode [String] 错误吗
    * :errorMessage [String] 错误描述
    


22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/lanmao/api/money/cancel_withdraw.rb', line 22

def cancel_withdraw(flow_id, pre_transaction_no)

  service = "CANCEL_WITHDRAW"

  params = {
    requestNo: flow_id,
    preTransactionNo: pre_transaction_no
  }

  res = operate_post(:operate, service, params, :service)

  res
end