StableOps
API 参考

更新商户订阅设置

更新 StableOps 商户账单付款窗口、续费提前天数和宽限期,核对返回的生效配置,以便业务系统正确安排续费提示。这些设置服务于商户向终端用户提供的订阅,不是平台自身套餐。账单到期时间、订阅周期与支付订单有效期各自独立,调整前应核对催缴和服务暂停策略。

PUT/v1/merchant/settings

Authorization

bearerAuth
AuthorizationBearer <token>

Paste your API key from the dashboard.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/v1/merchant/settings" \  -H "Content-Type: application/json" \  -d '{}'
{
  "pay_window_days": 1,
  "renewal_lead_days": 0,
  "grace_days": 0
}

这篇文档怎么样?

最后更新