Skip to content

查询H5支付权限申请单详情

商户可以通过该接口查询已经创建的H5支付申请单。

请求参数类型描述
base_uristring声明接入点https://apihk.mch.weixin.qq.com/(香港接入)
applyment_idinteger申请单号
php
$instance->v3->global->merchant->h5->permission->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/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/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->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/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/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子商户号
domainsstring[]
business_descriptionstring公司介绍和业务描述
transaction_limit_typestring限额类型
company_register_certstring公司注册资质证书
website_business_page_picsstring[]
website_homepage_picsstring[]
website_statestring子商户经营网址状态
website_urlstring子商户H5经营网址
applyment_idinteger申请单号
audit_reject_detailstring驳回原因
applyment_statestring申请单状态
applyment_typestring申请单类型
notify_urlstring商户提供的审核结果回调接口

参阅 官方文档

修改H5支付权限申请单

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

请求参数类型描述
base_uristring声明接入点https://apihk.mch.weixin.qq.com/(香港接入)
applyment_idinteger申请单号
jsonobject声明请求的JSON数据结构
domainsstring[]
business_descriptionstring公司介绍和业务描述
company_register_certstring公司注册资质证书
website_business_page_picsstring[]
website_homepage_picsstring[]
website_statestring子商户经营网址状态
website_urlstring子商户H5经营网址
php
$instance->v3->global->merchant->h5->permission->applications->_applyment_id_->patchAsync([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'applyment_id' => '100000',
  'json' => [
    'domains' => ['string'],
    'business_description' => '腾讯于1998年11月成立,是一家互联网公司,通过技术丰富互联网用户的生活,助力企业数字化升级。我们的使命是“用户为本 科技向善”',
    'company_register_cert' => '6uqyGjvHzOhsLleGFQVRF',
    'website_business_page_pics' => ['MediaId'],
    'website_homepage_pics' => ['MediaId'],
    'website_state' => 'HAS_LAUNCHED',
    'website_url' => 'https://qq.com',
  ],
])
->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/applications/{applyment_id}')->patchAsync([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'applyment_id' => '100000',
  'json' => [
    'domains' => ['string'],
    'business_description' => '腾讯于1998年11月成立,是一家互联网公司,通过技术丰富互联网用户的生活,助力企业数字化升级。我们的使命是“用户为本 科技向善”',
    'company_register_cert' => '6uqyGjvHzOhsLleGFQVRF',
    'website_business_page_pics' => ['MediaId'],
    'website_homepage_pics' => ['MediaId'],
    'website_state' => 'HAS_LAUNCHED',
    'website_url' => 'https://qq.com',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/global/merchant/h5/permission/applications/{applyment_id}']->patchAsync([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'applyment_id' => '100000',
  'json' => [
    'domains' => ['string'],
    'business_description' => '腾讯于1998年11月成立,是一家互联网公司,通过技术丰富互联网用户的生活,助力企业数字化升级。我们的使命是“用户为本 科技向善”',
    'company_register_cert' => '6uqyGjvHzOhsLleGFQVRF',
    'website_business_page_pics' => ['MediaId'],
    'website_homepage_pics' => ['MediaId'],
    'website_state' => 'HAS_LAUNCHED',
    'website_url' => 'https://qq.com',
  ],
])
->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->applications->_applyment_id_->patch([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'applyment_id' => '100000',
  'json' => [
    'domains' => ['string'],
    'business_description' => '腾讯于1998年11月成立,是一家互联网公司,通过技术丰富互联网用户的生活,助力企业数字化升级。我们的使命是“用户为本 科技向善”',
    'company_register_cert' => '6uqyGjvHzOhsLleGFQVRF',
    'website_business_page_pics' => ['MediaId'],
    'website_homepage_pics' => ['MediaId'],
    'website_state' => 'HAS_LAUNCHED',
    'website_url' => 'https://qq.com',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/global/merchant/h5/permission/applications/{applyment_id}')->patch([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'applyment_id' => '100000',
  'json' => [
    'domains' => ['string'],
    'business_description' => '腾讯于1998年11月成立,是一家互联网公司,通过技术丰富互联网用户的生活,助力企业数字化升级。我们的使命是“用户为本 科技向善”',
    'company_register_cert' => '6uqyGjvHzOhsLleGFQVRF',
    'website_business_page_pics' => ['MediaId'],
    'website_homepage_pics' => ['MediaId'],
    'website_state' => 'HAS_LAUNCHED',
    'website_url' => 'https://qq.com',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/global/merchant/h5/permission/applications/{applyment_id}']->patch([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'applyment_id' => '100000',
  'json' => [
    'domains' => ['string'],
    'business_description' => '腾讯于1998年11月成立,是一家互联网公司,通过技术丰富互联网用户的生活,助力企业数字化升级。我们的使命是“用户为本 科技向善”',
    'company_register_cert' => '6uqyGjvHzOhsLleGFQVRF',
    'website_business_page_pics' => ['MediaId'],
    'website_homepage_pics' => ['MediaId'],
    'website_state' => 'HAS_LAUNCHED',
    'website_url' => 'https://qq.com',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
sub_mchidstring子商户号
domainsstring[]H5支付域名
business_descriptionstring公司介绍和业务描述
transaction_limit_typestring限额类型
company_register_certstring公司注册资质证书
website_business_page_picsstring[]
website_homepage_picsstring[]
website_statestring子商户经营网址状态
website_urlstring子商户H5经营网址
applyment_idinteger申请单号
audit_reject_detailstring驳回原因
applyment_statestring申请单状态
applyment_typestring申请单类型
notify_urlstring商户提供的审核结果回调接口

参阅 官方文档

Published on the GitHub by TheNorthMemory