Skip to content

查询子商户商家转账授权状态

查询子商户商家转账授权状态 注:单个商户的接口频率限制为100次/s

请求参数类型描述
sub_mchidstring二级商户号
php
$instance->v3->fundApp->mchTransfer->partner->subMchAuthorizations->_sub_mchid_->getAsync([
  'sub_mchid' => '1900001121',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/fund-app/mch-transfer/partner/sub-mch-authorizations/{sub_mchid}')->getAsync([
  'sub_mchid' => '1900001121',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/fund-app/mch-transfer/partner/sub-mch-authorizations/{sub_mchid}']->getAsync([
  'sub_mchid' => '1900001121',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->fundApp->mchTransfer->partner->subMchAuthorizations->_sub_mchid_->get([
  'sub_mchid' => '1900001121',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/fund-app/mch-transfer/partner/sub-mch-authorizations/{sub_mchid}')->get([
  'sub_mchid' => '1900001121',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/fund-app/mch-transfer/partner/sub-mch-authorizations/{sub_mchid}']->get([
  'sub_mchid' => '1900001121',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
sub_mchidstring二级商户号
statestring授权状态
AUTHORIZED | UNAUTHORIZED | CANCELED 枚举值之一
apply_orderobject授权申请单
sub_mchidstring二级商户号
out_apply_nostring商户申请单号
statestring授权申请单状态
INVITED | PASSED | REJECTED | EXPIRED 枚举值之一
accept_timestring授权申请受理时间
update_timestring最后一次状态变更时间
authorization_timestring授权时间
cancel_authorization_timestring解除授权时间

参阅 官方文档

Published on the GitHub by TheNorthMemory