Skip to content

平台代理签约核身

接口适用场景:账号托管类平台商户进件申请流程中,在申请单中声明“走平台代理签约和代理核身入驻模式”时,可使用该接口传入代理签约和代理核身的信息。

请求参数类型描述
jsonobject声明请求的JSON数据结构
out_request_nostring业务申请编号
applyment_idinteger微信支付申请单号
pre_sign_timestring预签署微信支付协议时间
proxy_verify_identity_infoobject平台代理核身信息
verify_identity_typestring核身方式
VERIFY_IDENTITY_TYPE_FACE_TO_FACE | VERIFY_IDENTITY_TYPE_REMOTE 枚举值之一
verify_identity_resultboolean核身结果
php
$instance->v3->ecommerce->applyments->submitSignVerifyInfo->postAsync([
  'json' => [
    'out_request_no'             => '1900013511_10000',
    'applyment_id'               => 2000002124775691,
    'pre_sign_time'              => '2018-06-08T10:34:56+08:00',
    'proxy_verify_identity_info' => [
      'verify_identity_type'   => 'VERIFY_IDENTITY_TYPE_FACE_TO_FACE',
      'verify_identity_result' => true,
    ],
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/ecommerce/applyments/submit-sign-verify-info')->postAsync([
  'json' => [
    'out_request_no'             => '1900013511_10000',
    'applyment_id'               => 2000002124775691,
    'pre_sign_time'              => '2018-06-08T10:34:56+08:00',
    'proxy_verify_identity_info' => [
      'verify_identity_type'   => 'VERIFY_IDENTITY_TYPE_FACE_TO_FACE',
      'verify_identity_result' => true,
    ],
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/ecommerce/applyments/submit-sign-verify-info']->postAsync([
  'json' => [
    'out_request_no'             => '1900013511_10000',
    'applyment_id'               => 2000002124775691,
    'pre_sign_time'              => '2018-06-08T10:34:56+08:00',
    'proxy_verify_identity_info' => [
      'verify_identity_type'   => 'VERIFY_IDENTITY_TYPE_FACE_TO_FACE',
      'verify_identity_result' => true,
    ],
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->ecommerce->applyments->submitSignVerifyInfo->post([
  'json' => [
    'out_request_no'             => '1900013511_10000',
    'applyment_id'               => 2000002124775691,
    'pre_sign_time'              => '2018-06-08T10:34:56+08:00',
    'proxy_verify_identity_info' => [
      'verify_identity_type'   => 'VERIFY_IDENTITY_TYPE_FACE_TO_FACE',
      'verify_identity_result' => true,
    ],
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/ecommerce/applyments/submit-sign-verify-info')->post([
  'json' => [
    'out_request_no'             => '1900013511_10000',
    'applyment_id'               => 2000002124775691,
    'pre_sign_time'              => '2018-06-08T10:34:56+08:00',
    'proxy_verify_identity_info' => [
      'verify_identity_type'   => 'VERIFY_IDENTITY_TYPE_FACE_TO_FACE',
      'verify_identity_result' => true,
    ],
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/ecommerce/applyments/submit-sign-verify-info']->post([
  'json' => [
    'out_request_no'             => '1900013511_10000',
    'applyment_id'               => 2000002124775691,
    'pre_sign_time'              => '2018-06-08T10:34:56+08:00',
    'proxy_verify_identity_info' => [
      'verify_identity_type'   => 'VERIFY_IDENTITY_TYPE_FACE_TO_FACE',
      'verify_identity_result' => true,
    ],
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
applyment_idinteger微信支付申请单号

参阅 官方文档

Published on the GitHub by TheNorthMemory