Authorizations
You can generate an Organization Access Token from your organization's settings.
Body
- SubscriptionCreateCustomer
- SubscriptionCreateExternalCustomer
Create a subscription for an existing customer.
The ID of the recurring product to subscribe to. Must be a free product, otherwise the customer should go through a checkout flow.
"d8dd2de1-21b7-4a41-8bc3-ce909c0cfe23"
The ID of the customer to create the subscription for.
"992fae2a-2a17-4b7a-8d9e-e287cf90131b"
Key-value object allowing you to store additional information.
The key must be a string with a maximum length of 40 characters. The value must be either:
- A string with a maximum length of 500 characters
- An integer
- A floating-point number
- A boolean
You can store up to 50 key-value pairs.
Response
Subscription created.
Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the object.
The amount of the subscription.
10000
The currency of the subscription.
"usd"
The interval at which the subscription recurs.
day, week, month, year Number of interval units of the subscription. If this is set to 1 the charge will happen every interval (e.g. every month), if set to 2 it will be every other month, and so on.
The status of the subscription.
incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid The start timestamp of the current billing period.
The end timestamp of the current billing period.
The start timestamp of the trial period, if any.
The end timestamp of the trial period, if any.
Whether the subscription will be canceled at the end of the current period.
The timestamp when the subscription was canceled. The subscription might still be active if cancel_at_period_end is true.
The timestamp when the subscription started.
The timestamp when the subscription will end.
The timestamp when the subscription ended.
The ID of the subscribed customer.
The ID of the subscribed product.
The ID of the applied discount, if any.
customer_service, low_quality, missing_features, switched_service, too_complex, too_expensive, unused, other A product.
- DiscountFixedOnceForeverDurationBase
- DiscountFixedRepeatDurationBase
- DiscountPercentageOnceForeverDurationBase
- DiscountPercentageRepeatDurationBase
List of enabled prices for the subscription.
- LegacyRecurringProductPriceFixed
- LegacyRecurringProductPriceCustom
- LegacyRecurringProductPriceFree
- ProductPriceFixed
- ProductPriceCustom
- ProductPriceFree
- ProductPriceSeatBased
- ProductPriceMeteredUnit
List of meters associated with the subscription.
The number of seats for seat-based subscriptions. None for non-seat subscriptions.
Key-value object storing custom field values.

