Update Subscription
Update a subscription of the authenticated customer.
Path parameters
The subscription ID.
The subscription ID.
Request body
Response
Customer subscription updated.
Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the object.
The amount of the subscription.
The currency of the subscription.
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 start timestamp of the current billing period.
The end timestamp of the current billing period.
The start timestamp of the current meter period, if the product has a meter cycle set. Metered credits are granted and overage is settled on this cadence.
The end timestamp of the current meter period, if the product has a meter cycle set. This is when credits next renew.
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 timestamp when the subscription entered past_due status.
Whether the subscription will be paused at the end of the current period.
The timestamp when the subscription was paused.
The timestamp when a paused subscription is scheduled to automatically resume, if set.
The ID of the subscribed customer.
The ID of the subscribed product.
The ID of the applied discount, if any.
The number of seats for seat-based subscriptions. None for non-seat subscriptions.
Example response
{
"amount": 10000,
"currency": "usd",
"meters": [
{
"consumed_units": 25,
"credited_units": 100,
"meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22"
}
]
}