Module: Lanmao::Api::Money::InterceptWithdraw

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

Instance Method Summary collapse

Instance Method Details

#intercept_withdraw(flow_id, pre_transaction_no) ⇒ Hash

提现拦截

Returns:

  • (Hash)

    结果集

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

    • :request_params [Hash] 请求参数

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

    • :code [String] 结果代码

    • :msg [String] 结果信息

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

      * :request_no [String] 交易流水号
      * :code [Enum] 返回码
      * :status [Enum]
      * :errorCode [String] 错误吗
      * :errorMessage [String] 错误描述
      


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

def intercept_withdraw(flow_id, pre_transaction_no)

  service = "INTERCEPT_WITHDRAW"

  params = {
    requestNo: flow_id,
    withdrawRequestNo: pre_transaction_no
  }

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

  res
end