Skip to content

查询H5支付域名修改申请单

商户可以通过该接口查询H5支付域名修改申请单。

请求参数类型描述
base_uristring声明接入点https://apihk.mch.weixin.qq.com/(香港接入)
applyment_idinteger申请单号
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();
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();
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();
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));
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));
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));
返回字典类型描述
sub_mchidstring子商户号
website_statestring子商户经营网址状态
domainsstring[]
webiste_urlstring子商户H5经营网址
website_business_page_picsstring[]
website_homepage_picsstring[]
applyment_idinteger申请单号
audit_reject_detailstring驳回原因
applyment_statestring申请单状态
notify_urlstring商户提供的审核结果回调接口
out_applyment_idstring商户申请单号

参阅 官方文档

修改H5支付域名修改申请单

商户可以通过该接口修改已被驳回的H5支付域名修改申请单。

请求参数类型描述
base_uristring声明接入点https://apihk.mch.weixin.qq.com/(香港接入)
applyment_idinteger申请单号
jsonobject声明请求的JSON数据结构
domainsstring[]H5支付域名
website_statestring子商户经营网址状态
website_urlstring商户H5经营网址
website_business_page_picsstring[]
website_homepage_picsstring[]
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' => [["qq.com"]],
    '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();
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' => [["qq.com"]],
    '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();
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' => [["qq.com"]],
    '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();
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' => [["qq.com"]],
    '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));
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' => [["qq.com"]],
    '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));
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' => [["qq.com"]],
    '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));
返回字典类型描述
sub_mchidstring子商户号
website_statestring子商户经营网址状态
domainsstring[]
webiste_urlstring子商户H5经营网址
website_business_page_picsstring[]
website_homepage_picsstring[]
applyment_idinteger申请单号
audit_reject_detailstring驳回原因
applyment_statestring申请单状态
notify_urlstring商户提供的审核结果回调接口
out_applyment_idstring商户申请单号

参阅 官方文档

Published on the GitHub by TheNorthMemory