Skip to content

提交及查询商户开户意愿申请单状态

提交商户开户意愿申请单

服务商可以通过该接口向微信支付提交商户的联系人信息、主体信息以及联系人信息。

请求参数类型描述
jsonobject声明请求的JSON数据结构
business_codestring业务申请编号
contact_infoobject联系人信息
contact_typestring超级管理员类型
LEGAL | SUPER 枚举值之一
namestring联系人姓名
contact_id_doc_typestringIDENTIFICATION_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_numberstring联系人身份证号码
contact_id_doc_copystring联系人证件正面照片
contact_id_doc_copy_backstring联系人证件反面照片
contact_period_beginstring联系人证件有效期开始时间
contact_period_endstring联系人证件有效期结束时间
business_authorization_letterstring业务办理授权函
mobilestring联系人手机号
subject_infoobject主体信息
subject_typestring主体类型
SUBJECT_TYPE_INDIVIDUAL | SUBJECT_TYPE_ENTERPRISE | SUBJECT_TYPE_INSTITUTIONS | SUBJECT_TYPE_OTHERS | SUBJECT_TYPE_MICRO | SUBJECT_TYPE_GOVERNMENT | SUBJECT_TYPE_INSTITUTIONS_CLONED 枚举值之一
is_finance_institutionboolean是否金融机构
business_license_infoobject营业执照
licence_numberstring营业执照注册号
licence_copystring营业执照照片
merchant_namestring商户名称
legal_personstring法人姓名
company_addressstring注册地址
licence_valid_datestring营业执照有效日期JSON格式字符串
periodstring[]岂止日期
certificate_infoobject登记证书
cert_typestring登记证书类型
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_numberstring证书编号
cert_copystring登记证书照片
merchant_namestring商户名称
legal_personstring法人姓名
company_addressstring注册地址
cert_valid_datestring营业执照有效日期JSON格式字符串
periodstring[]岂止日期
company_prove_copystring单位证明函照片
assist_prove_infoobject辅助证明材料信息
micro_biz_typestring小微经营类型
MICRO_TYPE_STORE | MICRO_TYPE_MOBILE | MICRO_TYPE_ONLINE 枚举值之一
store_namestring门店名称
store_address_codestring门店省市编码
store_addressstring门店地址
store_header_copystring门店门头照片
store_indoor_copystring店内环境照片
special_operation_infoobject[]经营许可证信息
category_idinteger行业ID
44 | 33 | 22 | 41 | 42 | 49 | 50 | 51 | 36 | 54 | 55 | 32 | 52 枚举值之一
store_indoor_copystring[]店内环境照片
finance_institution_infoobject金融机构许可证信息
finance_typestring金融机构类型
BANK_AGENT | PAYMENT_AGENT | INSURANCE | TRADE_AND_SETTLE | OTHER 枚举值之一
finance_license_picsstring[]金融机构许可证图片
identification_infoobject法人身份信息
id_holder_typestring超级管理员类型
LEGAL | SUPER 枚举值之一
identification_typestringIDENTIFICATION_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_copystring法定代表人说明函
identification_namestring证件姓名
identification_numberstring证件号码
identification_valid_datestring证件有效日期JSON格式字符串
periodstring[]岂止日期
identification_addressstring证件居住地址
identification_front_copystring证件正面照片
identification_back_copystring证件反面照片
ownerboolean经营者/法人是否为受益人
ubo_info_listobject[]最终受益人信息列表
ubo_id_doc_typestringIDENTIFICATION_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_copystring证件正面照片
ubo_id_doc_copy_backstring证件反面照片
ubo_id_doc_namestring证件姓名
ubo_id_doc_numberstring证件号码
ubo_id_doc_addressstring证件居住地址
ubo_period_beginstring证件有效期开始时间
ubo_period_endstring证件有效期结束时间
addition_infoobject补充材料
confirm_mchid_liststring[]待确认商户号列表
queryobject声明请求的查询参数
channel_idstring渠道商户号
headersobject声明请求的头参数
Wechatpay-Serialstring平台公钥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_idnumber微信支付申请单号

参阅 官方文档

查询商户开户意愿申请单审核结果

当服务商提交申请单后,需要定期调用此接口查询申请单的审核状态。

请求参数类型描述
queryobject声明请求的查询参数
applyment_idstring申请单编号
business_codestring业务申请编号
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_statestring申请单状态
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_datastring小程序码图片
reject_paramstring驳回参数
reject_reasonstring驳回原因

参阅 官方文档

Published on the GitHub by TheNorthMemory