跳转到内容

Monthly Billing

查询可购买的包月套餐并激活包月云手机。

查询可购买的包月云手机套餐

Request

返回当前可供调用团队购买的包月云手机商品。

  • 副作用:无。该调用不会占用容量,也不会扣除团队余额。只读,可带退避安全重试。
  • 用途:将返回的 skuId 传给 /cloudphone/create。价格单位为美分,当前包月周期为 30 天。
  • 空结果data 为空数组表示当前没有可用的包月商品。

常见业务错误见 Error Codes

Security
Authorization
GET
/cloudphone/monthly/skus
curl -i -X GET \
  https://api.morelogin.com/cloudphone/monthly/skus \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Request processed; data is an empty array when no monthly product is available

Bodyapplication/json
codeintegerrequired

Business result code; 0 indicates success

Example:0
msgstring or nullrequired

Error message; null when successful

Example:null
requestIdstringrequired

Request ID for troubleshooting

Example:"1d4f3ea968664593860b94b35d4ebf5e"
dataArray of objects(MonthlyCloudPhoneSku)
Response
{ "code": 0, "msg": null, "data": [ {} ], "requestId": "36d574df5b9e41b5b3c796133ff5a079" }