Skip to content

服务商银行来账查询

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

请求参数类型描述
queryobject声明请求的查询参数
account_typestring账户类型
datestring日期
offsetinteger本次查询偏移量
limitinteger本次请求最大查询条数
php
$instance->v3->merchantfund->merchant->incomeRecords->getAsync([
  'query' => [
    'account_type' => 'BASIC',
    'date'         => '2019-06-11',
    '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/merchant/income-records')->getAsync([
  'query' => [
    'account_type' => 'BASIC',
    'date'         => '2019-06-11',
    '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/merchant/income-records']->getAsync([
  'query' => [
    'account_type' => 'BASIC',
    'date'         => '2019-06-11',
    '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->merchant->incomeRecords->get([
  'query' => [
    'account_type' => 'BASIC',
    'date'         => '2019-06-11',
    'offset'       => 0,
    'limit'        => 100,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchantfund/merchant/income-records')->get([
  'query' => [
    'account_type' => 'BASIC',
    'date'         => '2019-06-11',
    'offset'       => 0,
    'limit'        => 100,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchantfund/merchant/income-records']->get([
  'query' => [
    'account_type' => 'BASIC',
    'date'         => '2019-06-11',
    'offset'       => 0,
    'limit'        => 100,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
total_countinteger查询数据总条数
offsetinteger本次查询偏移量
limitinteger本次查询条数
dataobject[]银行来账记录列表
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