Skip to main content
POST
/
v1
/
billing
/
subscriptions
/
start
Billing Start Subscription
curl --request POST \
  --url https://api.pulze.ai/v1/billing/subscriptions/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "price_id": "<string>",
  "cycle": "monthly",
  "tier": "_NONE_"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
price_id
string
required

The StripeID price_xxx that will be added to the subscription

cycle
enum<string>
required
Available options:
monthly,
yearly
tier
enum<string>
required
Available options:
_NONE_,
_TRIAL_,
_INTERNAL_,
STARTUP,
GROWTH,
SCALE,
ENTERPRISE

Response

Successful Response