Skip to content

查询保险理赔功能开通状态

提交开通保险理赔功能请求后,通过调用该接口查询开通结果。

请求参数类型描述
sub_mchidstring二级商户号
php
$instance->v3->platsolution->ecommerce->insuranceCompensationContracts->subMchid->_sub_mchid_->checkOpened->postAsync([
  'sub_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/ecommerce/insurance-compensation-contracts/sub-mchid/{sub_mchid}/check-opened')->postAsync([
  'sub_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/ecommerce/insurance-compensation-contracts/sub-mchid/{sub_mchid}/check-opened']->postAsync([
  'sub_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->ecommerce->insuranceCompensationContracts->subMchid->_sub_mchid_->checkOpened->post([
  'sub_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/ecommerce/insurance-compensation-contracts/sub-mchid/{sub_mchid}/check-opened')->post([
  'sub_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/ecommerce/insurance-compensation-contracts/sub-mchid/{sub_mchid}/check-opened']->post([
  'sub_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
sub_mchidstring二级商户号
openedboolean是否开通成功
success_timestring成功时间

参阅 官方文档

Published on the GitHub by TheNorthMemory