Module: RockFintech::Api::Query::BatchQueryRepaymentB

Defined in:
lib/rock_fintech/api/query/batch_query_repayment_b.rb

Instance Method Summary collapse

Instance Method Details

#batch_query_repayment_b(batch_no, batch_count, batch_type, batch_date, items, devise = '000001', remark = '') ⇒ Hash

批次还款查询

Parameters:

  • items (Array)

    放款信息(此参数传入时必须用 to_json 转化)

    • :out_card_no

    • :in_card_no

    • :assets_no

    • :auth_code

    • :third_reserved

    • :serial_no

Returns:

  • (Hash)

    结果集

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

    • :request_params [Hash] 请求参数

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

    • :code [String] 结果代码

    • :msg [String] 结果信息

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

      * :batch_no [String] 


46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/rock_fintech/api/query/batch_query_repayment_b.rb', line 46

def batch_query_repayment_b(batch_no, batch_count, batch_type,
                            batch_date, items,
                            devise='000001', remark='')

  service = 'batch_query_repayment_b'

  params = {
    batch_count: batch_count,
    batch_no: batch_no,
    batch_type: batch_type,
    batch_date: batch_date,
    items: items,
    client: devise,
    custom: remark,
  }

  res = operate_post(:query, service, params, Http::ErrorCode.batch_query_repayment_b, ['RD000000'])

  res
end