财税精算与风控模型 · fin.capital.split

开店资金 30/20/20/30 黄金切分与抗风险评估

按总预算切分房租押付、硬装、设备与 6 个月保底流动备用金,严防开业现金流断裂。

请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/fin/capital-split
单次计费
¥0.02 / 2 点
沙箱体验
免费 20 次/日

⚡ 在线调试台(Sandbox Debugger)

实时返回结果
{
  "error_code": 0,
  "reason": "Success",
  "api_code": "fin.capital.split",
  "result": {
    "runwayMonths": 5.5
  }
}

请求参数与返回字段说明

1. 请求参数

参数名类型必填示例默认值说明
totalBudgetWan number 必填 40 开店总资金池(万元)
monthlyFixedWan number 选填 2.2 预计月刚性支出(万元,选填)

2. 核心返回字段(result)

字段路径类型说明
result.allocationWan object 四象限资金切分明细(万元)
result.runwayMonths number 流动备用金可支撑月数

多语言接入代码示例

curl -s -X POST "https://www.xntou.cn/api/open/v1/fin/capital-split" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -d '{"totalBudgetWan":40,"monthlyFixedWan":2.2}'
import requests
resp = requests.post("https://www.xntou.cn/api/open/v1/fin/capital-split", headers={"X-Api-Key": "YOUR_APP_KEY"}, json={
  "totalBudgetWan": 40,
  "monthlyFixedWan": 2.2
})
print(resp.json())
const res = await fetch("https://www.xntou.cn/api/open/v1/fin/capital-split", {
  method: "POST",
  headers: { "Content-Type": "application/json", "X-Api-Key": "YOUR_APP_KEY" },
  body: JSON.stringify({
  "totalBudgetWan": 40,
  "monthlyFixedWan": 2.2
})
});
console.log(await res.json());
<?php
$ch = curl_init("https://www.xntou.cn/api/open/v1/fin/capital-split");
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"totalBudgetWan":40,"monthlyFixedWan":2.2}');
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);