Billing Subscription

Changed on

Detailed view of the current subscription row (expires_at, auto_renew, period) FOR domain. Distinct from /api/subscription which returns the plan + entitlements; this one is for the 'Manage subscription' UI. domain defaults to 'omics' so existing callers are unchanged; pass ?domain=humanities_social for the other membership.

get/api/billing/subscription

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/billing/subscription
  • Auth: none declared

Query parameters

domainstring

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name