Skip to content

发起不活跃商户身份核实

服务商可以通过该接口,代特约商户发起不活跃商户身份核实,并得到核实单单号。 此接口采用异步处理模式,即在接收到服务商请求后,优先受理请求再异步处理,最终的核实结果可以通过“查询不活跃商户身份核实结果”接口获取。

请求参数类型描述
jsonobject声明请求的JSON数据结构
sub_mchidstring特约商户号
php
$instance->v3->compliance->inactiveMerchantIdentityVerification->merchants->postAsync([
  'json' => [
    'sub_mchid' => '1900009231',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/compliance/inactive-merchant-identity-verification/merchants')->postAsync([
  'json' => [
    'sub_mchid' => '1900009231',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/compliance/inactive-merchant-identity-verification/merchants']->postAsync([
  'json' => [
    'sub_mchid' => '1900009231',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->compliance->inactiveMerchantIdentityVerification->merchants->post([
  'json' => [
    'sub_mchid' => '1900009231',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/compliance/inactive-merchant-identity-verification/merchants')->post([
  'json' => [
    'sub_mchid' => '1900009231',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/compliance/inactive-merchant-identity-verification/merchants']->post([
  'json' => [
    'sub_mchid' => '1900009231',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
verification_idstring核实单号

参阅 官方文档

Published on the GitHub by TheNorthMemory