For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Subscription

POST /subscriptions

Request

{
  "subscription_plan_id": "sbp_sg189b9a705040000",
  "token_id": "tkn_sg189b9a70bf40002"
}

Response Subscription Object

{
    "id": "sub_sg189b9a717380000",
    "created_at": 1691036883,
    "subscription_plan_id": "sbp_sg189b9a705040000",
    "token_id": "tkn_sg189b9a70bf40002",
    "status_code": "active"
}

Request Parameters

Parameter name
Type
Required
Description

subscription_plan_id

String

Yes

The subscription plan id

token_id

String

Yes

The token id

Last updated

Was this helpful?