查询H5支付域名修改申请单
商户可以通过该接口查询H5支付域名修改申请单。
请求参数 | 类型 | 描述 |
---|---|---|
base_uri | string | 声明接入点https://apihk.mch.weixin.qq.com/ (香港接入) |
applyment_id | integer | 申请单号 |
php
$instance->v3->global->merchant->h5->permission->domain->applications->_applyment_id_->getAsync([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
php
$instance->chain('v3/global/merchant/h5/permission/domain/applications/{applyment_id}')->getAsync([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
php
$instance['v3/global/merchant/h5/permission/domain/applications/{applyment_id}']->getAsync([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
php
$response = $instance->v3->global->merchant->h5->permission->domain->applications->_applyment_id_->get([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
5
2
3
4
5
php
$response = $instance->chain('v3/global/merchant/h5/permission/domain/applications/{applyment_id}')->get([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
5
2
3
4
5
php
$response = $instance['v3/global/merchant/h5/permission/domain/applications/{applyment_id}']->get([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
5
2
3
4
5
返回字典 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 子商户号 |
website_state | string | 子商户经营网址状态 |
domains | string[] | H5支付域名 |
webiste_url | string | 子商户H5经营网址 |
website_business_page_pics | string[] | 经营网址商业页面截图 |
website_homepage_pics | string[] | 经营网址首页截图 |
applyment_id | integer | 申请单号 |
audit_reject_detail | string | 驳回原因 |
applyment_state | string | 申请单状态 |
notify_url | string | 商户提供的审核结果回调接口 |
out_applyment_id | string | 商户申请单号 |
参阅 官方文档
修改H5支付域名修改申请单
商户可以通过该接口修改已被驳回的H5支付域名修改申请单。
请求参数 | 类型 | 描述 |
---|---|---|
base_uri | string | 声明接入点https://apihk.mch.weixin.qq.com/ (香港接入) |
applyment_id | integer | 申请单号 |
json | object | 声明请求的JSON 数据结构 |
domains | string[] | H5支付域名 |
website_state | string | 子商户经营网址状态 |
website_url | string | 商户H5经营网址 |
website_business_page_pics | string[] | 经营网址商业页面截图 |
website_homepage_pics | string[] | 经营网址首页截图 |
php
$instance->v3->global->merchant->h5->permission->domain->applications->_applyment_id_->patchAsync([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
'json' => [
'domains' => ['string'],
'website_state' => 'HAS_LAUNCHED',
'website_url' => 'https://qq.com',
'website_business_page_pics' => ['MediaId'],
'website_homepage_pics' => ['MediaId'],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
php
$instance->chain('v3/global/merchant/h5/permission/domain/applications/{applyment_id}')->patchAsync([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
'json' => [
'domains' => ['string'],
'website_state' => 'HAS_LAUNCHED',
'website_url' => 'https://qq.com',
'website_business_page_pics' => ['MediaId'],
'website_homepage_pics' => ['MediaId'],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
php
$instance['v3/global/merchant/h5/permission/domain/applications/{applyment_id}']->patchAsync([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
'json' => [
'domains' => ['string'],
'website_state' => 'HAS_LAUNCHED',
'website_url' => 'https://qq.com',
'website_business_page_pics' => ['MediaId'],
'website_homepage_pics' => ['MediaId'],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
php
$response = $instance->v3->global->merchant->h5->permission->domain->applications->_applyment_id_->patch([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
'json' => [
'domains' => ['string'],
'website_state' => 'HAS_LAUNCHED',
'website_url' => 'https://qq.com',
'website_business_page_pics' => ['MediaId'],
'website_homepage_pics' => ['MediaId'],
],
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
php
$response = $instance->chain('v3/global/merchant/h5/permission/domain/applications/{applyment_id}')->patch([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
'json' => [
'domains' => ['string'],
'website_state' => 'HAS_LAUNCHED',
'website_url' => 'https://qq.com',
'website_business_page_pics' => ['MediaId'],
'website_homepage_pics' => ['MediaId'],
],
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
php
$response = $instance['v3/global/merchant/h5/permission/domain/applications/{applyment_id}']->patch([
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
'applyment_id' => '100000',
'json' => [
'domains' => ['string'],
'website_state' => 'HAS_LAUNCHED',
'website_url' => 'https://qq.com',
'website_business_page_pics' => ['MediaId'],
'website_homepage_pics' => ['MediaId'],
],
]);
print_r(json_decode((string) $response->getBody(), true));
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
返回字典 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 子商户号 |
website_state | string | 子商户经营网址状态 |
domains | string[] | H5支付域名 |
webiste_url | string | 子商户H5经营网址 |
website_business_page_pics | string[] | 经营网址商业页面截图 |
website_homepage_pics | string[] | 经营网址首页截图 |
applyment_id | integer | 申请单号 |
audit_reject_detail | string | 驳回原因 |
applyment_state | string | 申请单状态 |
notify_url | string | 商户提供的审核结果回调接口 |
out_applyment_id | string | 商户申请单号 |
参阅 官方文档