Skip to main content
GET/v1/billing/subscriptions

Subscriptions

GET/v1/billing/subscriptionsBearer token

List all subscriptions for a tenant.

Query Parameters

customer_idstring

Filter by customer.

statusstring

Filter by status: active, paused, cancelled, expired.

Response

Response

Create Subscription

POST/v1/billing/subscriptionsBearer token

Create a new recurring subscription.

customer_idstringRequired

The customer to create the subscription for.

product_idstringRequired

Product from the catalog.

quantityintegerRequired

Number of units.

billing_cyclestringRequired

Billing frequency: monthly, quarterly, annual.

start_datestring

When the subscription should start (defaults to now).

Response