# 续费静态实例

用业务编号批量受理实例续费并查询最终结果。

所有路径均使用[统一 API 令牌认证](/developers/authentication/static-hmac)。响应封装、业务编号和通用错误处理见[静态 API 概览](/developers/api/static-supply)。接口合同不代表目标环境已开放或完成真实供应商验收。

## 请求

先用[报价接口](/developers/api/static-quotes)提交 `kind: renew`。再向 `POST /openapi/v1/static/instances/renew` 提交：

```json
{"clientOperationNo":"platform-renew-001","instanceIds":[123],"durationDays":30,"expectedTotalAmountCents":3500}
```

实例 1–100 个；`durationDays` 为 1–3650 且须符合各实例能力。业务号为 1–64 位字母、数字、`_`、`.`、`-`。

## 返回

HTTP 202、业务 `code: 200` 表示受理，`data.operationId`、`queryUrl` 和 `orderNo` 用于查询操作与关联收费订单。最终逐项结果和资金结算以查询为准，结果通知可关联 `clientOperationNo`。

## 错误与重试

价格变更须重新报价并使用新业务号；余额不足时按原参数重试。同号异参为 `10705`。超时或 500/503 后先按原业务号[查询操作](/developers/api/static-operations)，不可换号盲目续费。

html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}
