查询保险理赔功能开通状态
提交开通保险理赔功能请求后,通过调用该接口查询开通结果。
请求参数 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 二级商户号 |
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_mchid | string | 二级商户号 |
opened | boolean | 是否开通成功 |
success_time | string | 成功时间 |
参阅 官方文档