cURL
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>" } ] }
Assign a subscription to a customer.
Note: Currently, subscriptions can’t be upgraded nor downgraded
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The StripeID price_xxx that will be added to the subscription
price_xxx
monthly
yearly
_NONE_
_TRIAL_
_INTERNAL_
STARTUP
GROWTH
SCALE
ENTERPRISE
Successful Response
Was this page helpful?