Skip to main content
POST
Create Subscription
Create a subscription directly without going through a checkout flow. Use this for server-side subscription creation where you handle payment collection separately. Auth: sk_ (secret key) only.
string
required
External customer ID. The customer must already exist.
string
required
The plan code to subscribe the customer to (e.g. pro).

Response

string
required
The newly created subscription’s ID.
string
required
Subscription status (e.g. active).