法律合规与合同审校 · law.cooling.off

加盟冷静期与法定退费路径测算

基于签约天数、是否开业及信息披露缺失情况,评估单方解约与退还加盟费可行性。

请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/law/cooling-off
单次计费
¥0.03 / 3 点
沙箱体验
免费 20 次/日

⚡ 在线调试台(Sandbox Debugger)

实时返回结果
{
  "error_code": 0,
  "reason": "Success",
  "api_code": "law.cooling.off",
  "result": {
    "inStatutoryCoolingOff": true,
    "refundFeasibility": "high"
  }
}

请求参数与返回字段说明

1. 请求参数

参数名类型必填示例默认值说明
daysSinceSigned number 必填 6 签约至今的天数
hasOpened boolean 选填 false 是否已实际开店使用品牌资源
disclosureMissing boolean 选填 true 签约前 30 日是否未书面披露信息

2. 核心返回字段(result)

字段路径类型说明
result.inStatutoryCoolingOff boolean 是否大概率处于合理冷静期内
result.recommendedActions array 取证与函件解约步骤

多语言接入代码示例

curl -s -X POST "https://www.xntou.cn/api/open/v1/law/cooling-off" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -d '{"daysSinceSigned":6,"hasOpened":false,"disclosureMissing":true}'
import requests
resp = requests.post("https://www.xntou.cn/api/open/v1/law/cooling-off", headers={"X-Api-Key": "YOUR_APP_KEY"}, json={
  "daysSinceSigned": 6,
  "hasOpened": false,
  "disclosureMissing": true
})
print(resp.json())
const res = await fetch("https://www.xntou.cn/api/open/v1/law/cooling-off", {
  method: "POST",
  headers: { "Content-Type": "application/json", "X-Api-Key": "YOUR_APP_KEY" },
  body: JSON.stringify({
  "daysSinceSigned": 6,
  "hasOpened": false,
  "disclosureMissing": true
})
});
console.log(await res.json());
<?php
$ch = curl_init("https://www.xntou.cn/api/open/v1/law/cooling-off");
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"daysSinceSigned":6,"hasOpened":false,"disclosureMissing":true}');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json', 'X-Api-Key: YOUR_APP_KEY']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);