Module: Lanmao::Api::Money::ConfirmWithdraw

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

Instance Method Summary collapse

Instance Method Details

#confirm_withdraw(flow_id, pre_transaction_no, withdraw_type) ⇒ Hash

提现确认

Returns:

  • (Hash)

    结果集

    • :result [String] “S”/“F”/“P”

    • :request_params [Hash] 请求参数

    • :response [Object] 请求返回对象

    • :code [String] 结果代码

    • :msg [String] 结果信息

    • :data: 具体业务返回信息

      * :requestNo [String] 


27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/lanmao/api/money/confirm_withdraw.rb', line 27

def confirm_withdraw(flow_id, pre_transaction_no, withdraw_type)

  service = "CONFIRM_WITHDRAW"

  params = {
    requestNo: flow_id,
    preTransactionNo: pre_transaction_no,
    withdrawType: withdraw_type
  }

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

  res
end