查询子商户商家转账授权状态
查询子商户商家转账授权状态 注:单个商户的接口频率限制为100次/s
请求参数 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 二级商户号 |
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();
1
2
3
4
5
6
7
2
3
4
5
6
7
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();
1
2
3
4
5
6
7
2
3
4
5
6
7
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();
1
2
3
4
5
6
7
2
3
4
5
6
7
php
$response = $instance->v3->fundApp->mchTransfer->partner->subMchAuthorizations->_sub_mchid_->get([
'sub_mchid' => '1900001121',
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
2
3
4
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));
1
2
3
4
2
3
4
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));
1
2
3
4
2
3
4
返回字典 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 二级商户号 |
state | string | 授权状态AUTHORIZED | UNAUTHORIZED | CANCELED 枚举值之一 |
apply_order | object | 授权申请单 |
sub_mchid | string | 二级商户号 |
out_apply_no | string | 商户申请单号 |
state | string | 授权申请单状态INVITED | PASSED | REJECTED | EXPIRED 枚举值之一 |
accept_time | string | 授权申请受理时间 |
update_time | string | 最后一次状态变更时间 |
authorization_time | string | 授权时间 |
cancel_authorization_time | string | 解除授权时间 |
参阅 官方文档