subscribe

Purchase Subscribe

Changed on

Purchase/activate a subscription. Requires login. Supports preset or custom mode.

post/api/v1/subscribe/purchase

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/subscribe/purchase
  • Auth: none declared

Request body

preset_idinteger nullable

Preset plan ID (1-7). If set, uses fixed preset pricing.

daily_limitinteger nullable

Daily cost limit in USD, must be multiple of 5

no_4h_windowboolean

Whether to remove 4h window

monthsinteger required

Subscription months

currencystring

Payment currency (CNY or USD)

api_key_namestring nullable

Custom API key name

Response

Successful Response

successboolean required
messagestring required
api_key_idinteger nullable
api_key_valuestring nullable
expires_atstring nullable
config_summaryobject nullable

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status