Skip to content

查询二级商户按日终余额预约提现状态

查询二级商户按日终余额预约提现状态。可查询90日内发起的预约提现单据,发起时间以微信支付预约提现单创建时间为准。

请求参数类型描述
out_request_nostring商户提现单号
queryobject声明请求的查询参数
sub_mchidstring二级商户号
php
$instance->v3->platsolution->ecommerce->withdraw->dayEndBalanceWithdraw->outRequestNo->_out_request_no_->getAsync([
  'out_request_no' => '20190611222222222200000000012122',
  'query' => [
    'sub_mchid' => '1900000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw/out-request-no/{out_request_no}')->getAsync([
  'out_request_no' => '20190611222222222200000000012122',
  'query' => [
    'sub_mchid' => '1900000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw/out-request-no/{out_request_no}']->getAsync([
  'out_request_no' => '20190611222222222200000000012122',
  'query' => [
    'sub_mchid' => '1900000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->ecommerce->withdraw->dayEndBalanceWithdraw->outRequestNo->_out_request_no_->get([
  'out_request_no' => '20190611222222222200000000012122',
  'query' => [
    'sub_mchid' => '1900000109',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw/out-request-no/{out_request_no}')->get([
  'out_request_no' => '20190611222222222200000000012122',
  'query' => [
    'sub_mchid' => '1900000109',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw/out-request-no/{out_request_no}']->get([
  'out_request_no' => '20190611222222222200000000012122',
  'query' => [
    'sub_mchid' => '1900000109',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
sp_mchidstring收付通平台商户号
sub_mchidstring特约商户号
statusstring单据状态
CREATED | PROCESSING | FINISHED | ABNORMAL 枚举值之一
withdraw_idstring微信支付提现单号
out_request_nostring商户提现单号
total_amountinteger提现金额
success_amountinteger提现成功金额
fail_amountinteger提现失败金额
refund_amountinteger提现退票金额
create_timestring发起提现时间
update_timestring提现状态更新时间
reasonstring失败原因
remarkstring提现备注
bank_memostring银行附言
account_typestring出款账户类型
BASIC | OPERATION | FEES 枚举值之一
account_numberstring入账银行账号后四位
account_bankstring入账银行
bank_namestring入账银行全称(含支行)

参阅 官方文档

Published on the GitHub by TheNorthMemory