特约商户银行来账查询 
服务商通过本接口查询指定日期内特约商户银行来账记录列表,列表内包含特约商户银行来账相关的业务单号、金额、完成时间等信息,供服务商进行查询和核对。
| 请求参数 | 类型 | 描述 | 
|---|---|---|
| query | object | 声明请求的查询参数 | 
| sub_mchid | string | 特约商户号 | 
| account_type | string | 账户类型 BASIC|OPERATION|FEES枚举值之一 | 
| offset | integer | 本次查询偏移量 | 
| limit | integer | 本次请求最大查询条数 | 
php
$instance->v3->merchantfund->partner->incomeRecords->getAsync([
  'query' => [
    'sub_mchid'    => '2480253391',
    'account_type' => 'BASIC',
    'offset'       => 0,
    'limit'        => 100,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance->chain('v3/merchantfund/partner/income-records')->getAsync([
  'query' => [
    'sub_mchid'    => '2480253391',
    'account_type' => 'BASIC',
    'offset'       => 0,
    'limit'        => 100,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance['v3/merchantfund/partner/income-records']->getAsync([
  'query' => [
    'sub_mchid'    => '2480253391',
    'account_type' => 'BASIC',
    'offset'       => 0,
    'limit'        => 100,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$response = $instance->v3->merchantfund->partner->incomeRecords->get([
  'query' => [
    'sub_mchid'    => '2480253391',
    'account_type' => 'BASIC',
    'offset'       => 0,
    'limit'        => 100,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance->chain('v3/merchantfund/partner/income-records')->get([
  'query' => [
    'sub_mchid'    => '2480253391',
    'account_type' => 'BASIC',
    'offset'       => 0,
    'limit'        => 100,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance['v3/merchantfund/partner/income-records']->get([
  'query' => [
    'sub_mchid'    => '2480253391',
    'account_type' => 'BASIC',
    'offset'       => 0,
    'limit'        => 100,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));| 返回字典 | 类型 | 描述 | 
|---|---|---|
| total_count | integer | 查询数据总条数 | 
| offset | integer | 本次查询偏移量 | 
| limit | integer | 本次查询条数 | 
| data | object[] | 银行来账记录列表 | 
| sub_mchid | string | 特约商户号 | 
| account_type | string | 账户类型 BASIC|OPERATION|FEES枚举值之一 | 
| income_record_type | string | 银行来账类型 OFFLINERECHARGE|ENTERPRISEDIRECTREVENUE枚举值之一 | 
| income_record_id | string | 银行来账微信单号 | 
| amount | integer | 银行来账金额 | 
| success_time | string | 银行来账完成时间 | 
| bank_name | string | 付款方银行名称 | 
| bank_account_name | string | 付款方银行户名 | 
| bank_account_number | string | 付款方银行卡号 | 
| recharge_remark | string | 银行备注 | 
| links | object | 分页链接 | 
| next | string | 下一页链接 | 
| prev | string | 上一页链接 | 
| self | string | 当前链接 |