Metered Subscriptions

Create Metered Subscription

Create a new metered subscription linking a METERED product to an organization consumer. The subscription is active immediately when its start time is reached. Usage can begin as soon as the subscription exists, and billing will use the subscription's billable window.

post/api/v2/metered_subscriptions

Request body

product_idstring uuid required

METERED product ID (product.price is the price per unit)

organization_consumer_idstring uuid required

Organization consumer ID

starts_atstring date-time nullable

When subscription becomes effective (defaults to now)

ends_atstring date-time nullable

When subscription expires (null = no expiry)

Response

Successful Response

idstring uuid
product_idstring uuid
organization_consumer_idstring uuid
organization_idstring uuid
starts_atstring date-time
ends_atstring date-time nullable
created_atstring date-time
updated_atstring date-time nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.