payg

登录:能不能买、余额、按量包 key 现状(CRS 读 1 秒超时)、各包预览。

同一用户 STATUS_CACHE_TTL_S 秒内的重复请求直接返回缓存,同时到来的请求共用一次计算(M4,见模块顶部)。

get/api/v1/payg/status

Request

  • Base URL: https://qcode.cc (the document declares no server; this is the origin it was published from)
  • URL: https://qcode.cc/api/v1/payg/status
  • Auth: none declared

Query parameters

langstring

Response

Successful Response

successboolean required
enabled_for_userboolean required
can_buyboolean required
codestring nullable
messagestring
first_purchaseboolean required
default_currencystring required
availabilityobject
next_reset_in_sinteger nullable
reset_is_todayboolean nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added