Sha256: c2156fdbb89e3542aa7e6d221ee457f6f860d70dcb1db7392f5fe3847ff11381
Contents?: true
Size: 1002 Bytes
Versions: 2
Compression:
Stored size: 1002 Bytes
Contents
# coding: utf-8 module Reapal module Api module Trust module WithdrawApply # 2.7 提现申请 # # @param # # @return [ Hash ] 结果集 # * :merchant_id # * :encryptkey # * :data # * :url # * :method # def withdraw_apply(contracts, flow_id, money, charge, busway='01') service = 'reapal.trust.withdrawApply' post_path = '/reagw/service/withdraw.htm' params = { orderNo: flow_id, contracts: contracts, amount: money, charge: charge, busway: busway, returnUrl: '', notifyUrl: '', applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } request = Http.get_body(service, params, @config) request[:method] = :post request[:url] = config[:server_url] + post_path request end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reapal-0.2.1 | lib/reapal/api/trust/withdraw_apply.rb |
reapal-0.2.0 | lib/reapal/api/trust/withdraw_apply.rb |