StableOps
API 参考

查询门户套餐列表

通过 StableOps 门户令牌查询可用订阅套餐,为客户展示服务选项,并在当前会话内选择需要申请变更的目标套餐。门户令牌限定用户可访问的数据,不能替代商户管理密钥,也不代表已完成付款。服务端应验证用户身份并安全签发会话,最终权益以账单和订阅状态为准。

GET/v1/merchant/portal/plans

Response Body

application/json

curl -X GET "https://example.com/v1/merchant/portal/plans"
[
  {
    "id": "string",
    "code": "string",
    "name": "string",
    "description": "string",
    "group_key": "string",
    "amount": "string",
    "interval": "month",
    "interval_count": 1,
    "trial_days": 0,
    "metadata": {
      "property1": null,
      "property2": null
    },
    "is_active": true,
    "is_template": true,
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
]

这篇文档怎么样?

最后更新