Skip to content

电商平台(商户提现单号查询)提现状态

电商平台通过该接口查询其提现结果。

请求参数类型描述
out_request_nostring商户提现单号
php
$instance->v3->merchant->fund->withdraw->outRequestNo->_out_request_no_->getAsync([
  'out_request_no' => '20190611222222222200000000012122',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/merchant/fund/withdraw/out-request-no/{out_request_no}')->getAsync([
  'out_request_no' => '20190611222222222200000000012122',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/merchant/fund/withdraw/out-request-no/{out_request_no}']->getAsync([
  'out_request_no' => '20190611222222222200000000012122',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->merchant->fund->withdraw->outRequestNo->_out_request_no_->get([
  'out_request_no' => '20190611222222222200000000012122',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchant/fund/withdraw/out-request-no/{out_request_no}')->get([
  'out_request_no' => '20190611222222222200000000012122',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchant/fund/withdraw/out-request-no/{out_request_no}']->get([
  'out_request_no' => '20190611222222222200000000012122',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
statusstring提现单状态
withdraw_idstring微信支付提现单号
out_request_nostring商户提现单号
amountinteger提现金额
create_timestring发起提现时间
update_timestring提现状态更新时间
reasonstring失败原因
remarkstring提现备注
bank_memostring银行附言
account_typestring出款账户类型
solutionstring提现失败解决方案

参阅 官方文档

Published on the GitHub by TheNorthMemory