提交及查询商户开户意愿申请单状态
提交商户开户意愿申请单
服务商可以通过该接口向微信支付提交商户的联系人信息、主体信息以及联系人信息。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
business_code | string | 业务申请编号 |
contact_info | object | 联系人信息 |
contact_type | string | 超级管理员类型LEGAL | SUPER 枚举值之一 |
name | string | 联系人姓名 |
contact_id_doc_type | string | IDENTIFICATION_TYPE_IDCARD | IDENTIFICATION_TYPE_OVERSEA_PASSPORT | IDENTIFICATION_TYPE_HONGKONG_PASSPORT | IDENTIFICATION_TYPE_MACAO_PASSPORT | IDENTIFICATION_TYPE_TAIWAN_PASSPORT | IDENTIFICATION_TYPE_FOREIGN_RESIDENT | IDENTIFICATION_TYPE_HONGKONG_MACAO_RESIDENT | IDENTIFICATION_TYPE_TAIWAN_RESIDENT 枚举值之一 |
id_card_number | string | 联系人身份证号码 |
contact_id_doc_copy | string | 联系人证件正面照片 |
contact_id_doc_copy_back | string | 联系人证件反面照片 |
contact_period_begin | string | 联系人证件有效期开始时间 |
contact_period_end | string | 联系人证件有效期结束时间 |
business_authorization_letter | string | 业务办理授权函 |
mobile | string | 联系人手机号 |
subject_info | object | 主体信息 |
subject_type | string | 主体类型SUBJECT_TYPE_INDIVIDUAL | SUBJECT_TYPE_ENTERPRISE | SUBJECT_TYPE_INSTITUTIONS | SUBJECT_TYPE_OTHERS | SUBJECT_TYPE_MICRO | SUBJECT_TYPE_GOVERNMENT | SUBJECT_TYPE_INSTITUTIONS_CLONED 枚举值之一 |
is_finance_institution | boolean | 是否金融机构 |
business_license_info | object | 营业执照 |
licence_number | string | 营业执照注册号 |
licence_copy | string | 营业执照照片 |
merchant_name | string | 商户名称 |
legal_person | string | 法人姓名 |
company_address | string | 注册地址 |
licence_valid_date | string | 营业执照有效日期JSON 格式字符串 |
period | string[] | 岂止日期 |
certificate_info | object | 登记证书 |
cert_type | string | 登记证书类型CERTIFICATE_TYPE_2388 | CERTIFICATE_TYPE_2389 | CERTIFICATE_TYPE_2390 | CERTIFICATE_TYPE_2391 | CERTIFICATE_TYPE_2392 | CERTIFICATE_TYPE_2393 | CERTIFICATE_TYPE_2394 | CERTIFICATE_TYPE_2395 | CERTIFICATE_TYPE_2396 | CERTIFICATE_TYPE_2399 | CERTIFICATE_TYPE_2400 | CERTIFICATE_TYPE_2520 | CERTIFICATE_TYPE_2521 | CERTIFICATE_TYPE_2522 枚举值之一 |
cert_number | string | 证书编号 |
cert_copy | string | 登记证书照片 |
merchant_name | string | 商户名称 |
legal_person | string | 法人姓名 |
company_address | string | 注册地址 |
cert_valid_date | string | 营业执照有效日期JSON 格式字符串 |
period | string[] | 岂止日期 |
company_prove_copy | string | 单位证明函照片 |
assist_prove_info | object | 辅助证明材料信息 |
micro_biz_type | string | 小微经营类型MICRO_TYPE_STORE | MICRO_TYPE_MOBILE | MICRO_TYPE_ONLINE 枚举值之一 |
store_name | string | 门店名称 |
store_address_code | string | 门店省市编码 |
store_address | string | 门店地址 |
store_header_copy | string | 门店门头照片 |
store_indoor_copy | string | 店内环境照片 |
special_operation_info | object[] | 经营许可证信息 |
category_id | integer | 行业ID44 | 33 | 22 | 41 | 42 | 49 | 50 | 51 | 36 | 54 | 55 | 32 | 52 枚举值之一 |
store_indoor_copy | string[] | 店内环境照片 |
finance_institution_info | object | 金融机构许可证信息 |
finance_type | string | 金融机构类型BANK_AGENT | PAYMENT_AGENT | INSURANCE | TRADE_AND_SETTLE | OTHER 枚举值之一 |
finance_license_pics | string[] | 金融机构许可证图片 |
identification_info | object | 法人身份信息 |
id_holder_type | string | 超级管理员类型LEGAL | SUPER 枚举值之一 |
identification_type | string | IDENTIFICATION_TYPE_IDCARD | IDENTIFICATION_TYPE_OVERSEA_PASSPORT | IDENTIFICATION_TYPE_HONGKONG_PASSPORT | IDENTIFICATION_TYPE_MACAO_PASSPORT | IDENTIFICATION_TYPE_TAIWAN_PASSPORT | IDENTIFICATION_TYPE_FOREIGN_RESIDENT | IDENTIFICATION_TYPE_HONGKONG_MACAO_RESIDENT | IDENTIFICATION_TYPE_TAIWAN_RESIDENT 枚举值之一 |
authorize_letter_copy | string | 法定代表人说明函 |
identification_name | string | 证件姓名 |
identification_number | string | 证件号码 |
identification_valid_date | string | 证件有效日期JSON 格式字符串 |
period | string[] | 岂止日期 |
identification_address | string | 证件居住地址 |
identification_front_copy | string | 证件正面照片 |
identification_back_copy | string | 证件反面照片 |
owner | boolean | 经营者/法人是否为受益人 |
ubo_info_list | object[] | 最终受益人信息列表 |
ubo_id_doc_type | string | IDENTIFICATION_TYPE_IDCARD | IDENTIFICATION_TYPE_OVERSEA_PASSPORT | IDENTIFICATION_TYPE_HONGKONG_PASSPORT | IDENTIFICATION_TYPE_MACAO_PASSPORT | IDENTIFICATION_TYPE_TAIWAN_PASSPORT | IDENTIFICATION_TYPE_FOREIGN_RESIDENT | IDENTIFICATION_TYPE_HONGKONG_MACAO_RESIDENT | IDENTIFICATION_TYPE_TAIWAN_RESIDENT 枚举值之一 |
ubo_id_doc_copy | string | 证件正面照片 |
ubo_id_doc_copy_back | string | 证件反面照片 |
ubo_id_doc_name | string | 证件姓名 |
ubo_id_doc_number | string | 证件号码 |
ubo_id_doc_address | string | 证件居住地址 |
ubo_period_begin | string | 证件有效期开始时间 |
ubo_period_end | string | 证件有效期结束时间 |
addition_info | object | 补充材料 |
confirm_mchid_list | string[] | 待确认商户号列表 |
query | object | 声明请求的查询参数 |
channel_id | string | 渠道商户号 |
headers | object | 声明请求的头参数 |
Wechatpay-Serial | string | 平台公钥ID/平台公钥证书序列号 |
php
$instance->v3->apply4subject->applyment->postAsync([
'json' => [
'business_code' => '',
'contact_info' => [
'contact_type' => 'LEGAL',
'name' => '',
'contact_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'id_card_number' => '',
'contact_id_doc_copy' => '',
'contact_id_doc_copy_back' => '',
'contact_period_begin' => '',
'contact_period_end' => '',
'business_authorization_letter' => '',
'mobile' => '',
],
'subject_info' => [
'subject_type' => 'SUBJECT_TYPE_INDIVIDUAL',
'is_finance_institution' => true,
'business_license_info' => [
'licence_number' => '',
'licence_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'licence_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'certificate_info' => [
'cert_type' => 'CERTIFICATE_TYPE_2388',
'cert_number' => '',
'cert_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'cert_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'company_prove_copy' => '',
'assist_prove_info' => [
'micro_biz_type' => 'MICRO_TYPE_STORE',
'store_name' => '',
'store_address_code' => '',
'store_address' => '',
'store_header_copy' => '',
'store_indoor_copy' => '',
],
'special_operation_info' => [[
'category_id' => 0,
'store_indoor_copy' => ['MediaId'],
],],
'finance_institution_info' => [
'finance_type' => 'BANK_AGENT',
'finance_license_pics' => ['MediaId'],
],
],
'identification_info' => [
'id_holder_type' => 'LEGAL',
'identification_type' => 'IDENTIFICATION_TYPE_IDCARD',
'authorize_letter_copy' => '',
'identification_name' => '',
'identification_number' => '',
'identification_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
'identification_address' => '',
'identification_front_copy' => '',
'identification_back_copy' => '',
'owner' => true,
],
'ubo_info_list' => [[
'ubo_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'ubo_id_doc_copy' => '',
'ubo_id_doc_copy_back' => '',
'ubo_id_doc_name' => '',
'ubo_id_doc_number' => '',
'ubo_id_doc_address' => '',
'ubo_period_begin' => '',
'ubo_period_end' => '',
],],
'addition_info' => [
'confirm_mchid_list' => ['string'],
],
],
'query' => [
'channel_id' => '',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/apply4subject/applyment')->postAsync([
'json' => [
'business_code' => '',
'contact_info' => [
'contact_type' => 'LEGAL',
'name' => '',
'contact_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'id_card_number' => '',
'contact_id_doc_copy' => '',
'contact_id_doc_copy_back' => '',
'contact_period_begin' => '',
'contact_period_end' => '',
'business_authorization_letter' => '',
'mobile' => '',
],
'subject_info' => [
'subject_type' => 'SUBJECT_TYPE_INDIVIDUAL',
'is_finance_institution' => true,
'business_license_info' => [
'licence_number' => '',
'licence_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'licence_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'certificate_info' => [
'cert_type' => 'CERTIFICATE_TYPE_2388',
'cert_number' => '',
'cert_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'cert_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'company_prove_copy' => '',
'assist_prove_info' => [
'micro_biz_type' => 'MICRO_TYPE_STORE',
'store_name' => '',
'store_address_code' => '',
'store_address' => '',
'store_header_copy' => '',
'store_indoor_copy' => '',
],
'special_operation_info' => [[
'category_id' => 0,
'store_indoor_copy' => ['MediaId'],
],],
'finance_institution_info' => [
'finance_type' => 'BANK_AGENT',
'finance_license_pics' => ['MediaId'],
],
],
'identification_info' => [
'id_holder_type' => 'LEGAL',
'identification_type' => 'IDENTIFICATION_TYPE_IDCARD',
'authorize_letter_copy' => '',
'identification_name' => '',
'identification_number' => '',
'identification_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
'identification_address' => '',
'identification_front_copy' => '',
'identification_back_copy' => '',
'owner' => true,
],
'ubo_info_list' => [[
'ubo_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'ubo_id_doc_copy' => '',
'ubo_id_doc_copy_back' => '',
'ubo_id_doc_name' => '',
'ubo_id_doc_number' => '',
'ubo_id_doc_address' => '',
'ubo_period_begin' => '',
'ubo_period_end' => '',
],],
'addition_info' => [
'confirm_mchid_list' => ['string'],
],
],
'query' => [
'channel_id' => '',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/apply4subject/applyment']->postAsync([
'json' => [
'business_code' => '',
'contact_info' => [
'contact_type' => 'LEGAL',
'name' => '',
'contact_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'id_card_number' => '',
'contact_id_doc_copy' => '',
'contact_id_doc_copy_back' => '',
'contact_period_begin' => '',
'contact_period_end' => '',
'business_authorization_letter' => '',
'mobile' => '',
],
'subject_info' => [
'subject_type' => 'SUBJECT_TYPE_INDIVIDUAL',
'is_finance_institution' => true,
'business_license_info' => [
'licence_number' => '',
'licence_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'licence_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'certificate_info' => [
'cert_type' => 'CERTIFICATE_TYPE_2388',
'cert_number' => '',
'cert_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'cert_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'company_prove_copy' => '',
'assist_prove_info' => [
'micro_biz_type' => 'MICRO_TYPE_STORE',
'store_name' => '',
'store_address_code' => '',
'store_address' => '',
'store_header_copy' => '',
'store_indoor_copy' => '',
],
'special_operation_info' => [[
'category_id' => 0,
'store_indoor_copy' => ['MediaId'],
],],
'finance_institution_info' => [
'finance_type' => 'BANK_AGENT',
'finance_license_pics' => ['MediaId'],
],
],
'identification_info' => [
'id_holder_type' => 'LEGAL',
'identification_type' => 'IDENTIFICATION_TYPE_IDCARD',
'authorize_letter_copy' => '',
'identification_name' => '',
'identification_number' => '',
'identification_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
'identification_address' => '',
'identification_front_copy' => '',
'identification_back_copy' => '',
'owner' => true,
],
'ubo_info_list' => [[
'ubo_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'ubo_id_doc_copy' => '',
'ubo_id_doc_copy_back' => '',
'ubo_id_doc_name' => '',
'ubo_id_doc_number' => '',
'ubo_id_doc_address' => '',
'ubo_period_begin' => '',
'ubo_period_end' => '',
],],
'addition_info' => [
'confirm_mchid_list' => ['string'],
],
],
'query' => [
'channel_id' => '',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->apply4subject->applyment->post([
'json' => [
'business_code' => '',
'contact_info' => [
'contact_type' => 'LEGAL',
'name' => '',
'contact_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'id_card_number' => '',
'contact_id_doc_copy' => '',
'contact_id_doc_copy_back' => '',
'contact_period_begin' => '',
'contact_period_end' => '',
'business_authorization_letter' => '',
'mobile' => '',
],
'subject_info' => [
'subject_type' => 'SUBJECT_TYPE_INDIVIDUAL',
'is_finance_institution' => true,
'business_license_info' => [
'licence_number' => '',
'licence_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'licence_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'certificate_info' => [
'cert_type' => 'CERTIFICATE_TYPE_2388',
'cert_number' => '',
'cert_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'cert_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'company_prove_copy' => '',
'assist_prove_info' => [
'micro_biz_type' => 'MICRO_TYPE_STORE',
'store_name' => '',
'store_address_code' => '',
'store_address' => '',
'store_header_copy' => '',
'store_indoor_copy' => '',
],
'special_operation_info' => [[
'category_id' => 0,
'store_indoor_copy' => ['MediaId'],
],],
'finance_institution_info' => [
'finance_type' => 'BANK_AGENT',
'finance_license_pics' => ['MediaId'],
],
],
'identification_info' => [
'id_holder_type' => 'LEGAL',
'identification_type' => 'IDENTIFICATION_TYPE_IDCARD',
'authorize_letter_copy' => '',
'identification_name' => '',
'identification_number' => '',
'identification_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
'identification_address' => '',
'identification_front_copy' => '',
'identification_back_copy' => '',
'owner' => true,
],
'ubo_info_list' => [[
'ubo_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'ubo_id_doc_copy' => '',
'ubo_id_doc_copy_back' => '',
'ubo_id_doc_name' => '',
'ubo_id_doc_number' => '',
'ubo_id_doc_address' => '',
'ubo_period_begin' => '',
'ubo_period_end' => '',
],],
'addition_info' => [
'confirm_mchid_list' => ['string'],
],
],
'query' => [
'channel_id' => '',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/apply4subject/applyment')->post([
'json' => [
'business_code' => '',
'contact_info' => [
'contact_type' => 'LEGAL',
'name' => '',
'contact_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'id_card_number' => '',
'contact_id_doc_copy' => '',
'contact_id_doc_copy_back' => '',
'contact_period_begin' => '',
'contact_period_end' => '',
'business_authorization_letter' => '',
'mobile' => '',
],
'subject_info' => [
'subject_type' => 'SUBJECT_TYPE_INDIVIDUAL',
'is_finance_institution' => true,
'business_license_info' => [
'licence_number' => '',
'licence_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'licence_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'certificate_info' => [
'cert_type' => 'CERTIFICATE_TYPE_2388',
'cert_number' => '',
'cert_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'cert_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'company_prove_copy' => '',
'assist_prove_info' => [
'micro_biz_type' => 'MICRO_TYPE_STORE',
'store_name' => '',
'store_address_code' => '',
'store_address' => '',
'store_header_copy' => '',
'store_indoor_copy' => '',
],
'special_operation_info' => [[
'category_id' => 0,
'store_indoor_copy' => ['MediaId'],
],],
'finance_institution_info' => [
'finance_type' => 'BANK_AGENT',
'finance_license_pics' => ['MediaId'],
],
],
'identification_info' => [
'id_holder_type' => 'LEGAL',
'identification_type' => 'IDENTIFICATION_TYPE_IDCARD',
'authorize_letter_copy' => '',
'identification_name' => '',
'identification_number' => '',
'identification_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
'identification_address' => '',
'identification_front_copy' => '',
'identification_back_copy' => '',
'owner' => true,
],
'ubo_info_list' => [[
'ubo_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'ubo_id_doc_copy' => '',
'ubo_id_doc_copy_back' => '',
'ubo_id_doc_name' => '',
'ubo_id_doc_number' => '',
'ubo_id_doc_address' => '',
'ubo_period_begin' => '',
'ubo_period_end' => '',
],],
'addition_info' => [
'confirm_mchid_list' => ['string'],
],
],
'query' => [
'channel_id' => '',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/apply4subject/applyment']->post([
'json' => [
'business_code' => '',
'contact_info' => [
'contact_type' => 'LEGAL',
'name' => '',
'contact_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'id_card_number' => '',
'contact_id_doc_copy' => '',
'contact_id_doc_copy_back' => '',
'contact_period_begin' => '',
'contact_period_end' => '',
'business_authorization_letter' => '',
'mobile' => '',
],
'subject_info' => [
'subject_type' => 'SUBJECT_TYPE_INDIVIDUAL',
'is_finance_institution' => true,
'business_license_info' => [
'licence_number' => '',
'licence_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'licence_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'certificate_info' => [
'cert_type' => 'CERTIFICATE_TYPE_2388',
'cert_number' => '',
'cert_copy' => '',
'merchant_name' => '',
'legal_person' => '',
'company_address' => '',
'cert_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
],
'company_prove_copy' => '',
'assist_prove_info' => [
'micro_biz_type' => 'MICRO_TYPE_STORE',
'store_name' => '',
'store_address_code' => '',
'store_address' => '',
'store_header_copy' => '',
'store_indoor_copy' => '',
],
'special_operation_info' => [[
'category_id' => 0,
'store_indoor_copy' => ['MediaId'],
],],
'finance_institution_info' => [
'finance_type' => 'BANK_AGENT',
'finance_license_pics' => ['MediaId'],
],
],
'identification_info' => [
'id_holder_type' => 'LEGAL',
'identification_type' => 'IDENTIFICATION_TYPE_IDCARD',
'authorize_letter_copy' => '',
'identification_name' => '',
'identification_number' => '',
'identification_valid_date' => \json_encode([
'1970-01-01',
'forever',
]),
'identification_address' => '',
'identification_front_copy' => '',
'identification_back_copy' => '',
'owner' => true,
],
'ubo_info_list' => [[
'ubo_id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'ubo_id_doc_copy' => '',
'ubo_id_doc_copy_back' => '',
'ubo_id_doc_name' => '',
'ubo_id_doc_number' => '',
'ubo_id_doc_address' => '',
'ubo_period_begin' => '',
'ubo_period_end' => '',
],],
'addition_info' => [
'confirm_mchid_list' => ['string'],
],
],
'query' => [
'channel_id' => '',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
applyment_id | number | 微信支付申请单号 |
参阅 官方文档
查询商户开户意愿申请单审核结果
当服务商提交申请单后,需要定期调用此接口查询申请单的审核状态。
请求参数 | 类型 | 描述 |
---|---|---|
query | object | 声明请求的查询参数 |
applyment_id | string | 申请单编号 |
business_code | string | 业务申请编号 |
php
$instance->v3->apply4subject->applyment->getAsync([
'query' => [
'applyment_id' => '',
'business_code' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/apply4subject/applyment')->getAsync([
'query' => [
'applyment_id' => '',
'business_code' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/apply4subject/applyment']->getAsync([
'query' => [
'applyment_id' => '',
'business_code' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->apply4subject->applyment->get([
'query' => [
'applyment_id' => '',
'business_code' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/apply4subject/applyment')->get([
'query' => [
'applyment_id' => '',
'business_code' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/apply4subject/applyment']->get([
'query' => [
'applyment_id' => '',
'business_code' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
applyment_state | string | 申请单状态APPLYMENT_STATE_WAITTING_FOR_AUDIT | APPLYMENT_STATE_WAITTING_FOR_CONFIRM_CONTACT | APPLYMENT_STATE_WAITTING_FOR_CONFIRM_LEGALPERSON | APPLYMENT_STATE_PASSED | APPLYMENT_STATE_FREEZED | APPLYMENT_STATE_EDITTING | APPLYMENT_STATE_AUDITING | APPLYMENT_STATE_REJECTED | APPLYMENT_STATE_TO_BE_CONFIRMED | APPLYMENT_STATE_TO_BE_SIGNED | APPLYMENT_STATE_SIGNING | APPLYMENT_STATE_FINISHED | APPLYMENT_STATE_CANCELED 枚举值之一 |
qrcode_data | string | 小程序码图片 |
reject_param | string | 驳回参数 |
reject_reason | string | 驳回原因 |
参阅 官方文档