查询二级商户商家转账授权状态
查询二级商户商家转账授权状态。
请求参数 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 二级商户号 |
php
$instance->v3->ecommerce->mchTransfer->authorizations->_sub_mchid_->getAsync([
'sub_mchid' => '1900001109',
])
->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/ecommerce/mch-transfer/authorizations/{sub_mchid}')->getAsync([
'sub_mchid' => '1900001109',
])
->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/ecommerce/mch-transfer/authorizations/{sub_mchid}']->getAsync([
'sub_mchid' => '1900001109',
])
->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->ecommerce->mchTransfer->authorizations->_sub_mchid_->get([
'sub_mchid' => '1900001109',
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
2
3
4
php
$response = $instance->chain('v3/ecommerce/mch-transfer/authorizations/{sub_mchid}')->get([
'sub_mchid' => '1900001109',
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
2
3
4
php
$response = $instance['v3/ecommerce/mch-transfer/authorizations/{sub_mchid}']->get([
'sub_mchid' => '1900001109',
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
2
3
4
返回字典 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 二级商户号 |
authorization_state | string | 授权状态 |
authorize_time | string | 授权时间 |
参阅 官方文档