續費下單
本介面用於續費下單,支援批量IP續費。
介面資訊
POST /client/order/renewIpList
請求頭
| 參數名稱 | 必選 | 類型 | 說明 |
|---|---|---|---|
| x-merchant-token | 是 | string | 商戶訪問令牌 |
| x-merchant-code | 是 | string | 商戶編碼 |
請求參數
| 參數名稱 | 必選 | 類型 | 說明 |
|---|---|---|---|
| ipList | 是 | Array[String] | IP列表 |
| monthCount | 是 | Long | 續費幾個月 |
請求示例
const response = await fetch('/client/order/renewIpList', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-merchant-token': 'your-token-here',
'x-merchant-code': 'your-merchant-code'
},
body: JSON.stringify({
"ipList": [
"43.255.80.100"
],
"monthCount": 1
})
});
const result = await response.json();
回應結果
{
"msg": "下單成功",
"code": 200,
"data": "N2025032701271232584"
}