Skip to content

特约商户银行来账查询

服务商通过本接口查询指定日期内特约商户银行来账记录列表,列表内包含特约商户银行来账相关的业务单号、金额、完成时间等信息,供服务商进行查询和核对。

请求参数类型描述
queryobject声明请求的查询参数
sub_mchidstring特约商户号
account_typestring账户类型
offsetinteger本次查询偏移量
limitinteger本次请求最大查询条数
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_countinteger查询数据总条数
offsetinteger本次查询偏移量
limitinteger本次查询条数
dataobject[]银行来账记录列表
sub_mchidstring特约商户号
account_typestring账户类型
income_record_typestring银行来账类型
income_record_idstring银行来账微信单号
amountinteger银行来账金额
success_timestring银行来账完成时间
bank_namestring付款方银行名称
bank_account_namestring付款方银行户名
bank_account_numberstring付款方银行卡号
recharge_remarkstring银行备注
linksobject分页链接
nextstring下一页链接
prevstring上一页链接
selfstring当前链接

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory