Update Subscription
Update a subscription of the authenticated customer.
Scopes: customer_portal:write
Authorizations
Customer session tokens are specific tokens that are used to authenticate customers on your organization. You can create those sessions programmatically using the Create Customer Session endpoint.
Path Parameters
The subscription ID.
Body
Update subscription to another product.
Update subscription to another product.
Cancel an active subscription once the current period ends.
Or uncancel a subscription currently set to be revoked at period end.
Customers reason for cancellation.
too_expensive
: Too expensive for the customer.missing_features
: Customer is missing certain features.switched_service
: Customer switched to another service.unused
: Customer is not using it enough.customer_service
: Customer is not satisfied with the customer service.low_quality
: Customer is unhappy with the quality.too_complex
: Customer considers the service too complicated.other
: Other reason(s).
customer_service
, low_quality
, missing_features
, switched_service
, too_complex
, too_expensive
, unused
, other
Customer feedback and why they decided to cancel.
Response
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.
The interval at which the subscription recurs.
month
, year
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.
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
List of enabled prices for the subscription.
A recurring price for a product, i.e. a subscription.
Deprecated: The recurring interval should be set on the product itself.
List of meters associated with the subscription.