Update a subscription
Updates an existing subscription. You can change the plan, payment method, or metadata associated with the subscription.
Authorizations
Authentication header of the form api key, where api key is your organization api key.
Headers
Specifies the version of the API to use
2.0.0 Body
Update subscription
Response
Returns the updated subscription object.
Unique identifier for the subscription
"sub_123e4567-e89b-12d3-a456-426614174000"
Next scheduled billing date for the subscription
"2025-06-26T12:00:00Z"
Information about past due attempts
Current status of the subscription
trial, active, past_due, cancelled, scheduled_for_cancellation Custom metadata associated with the subscription A dictionary of key-value pairs.
{ "key": "value" }The date and time at which the subscription was created in UTC format
"2025-05-26T10:00:00Z"
The date and time of the last subscription update in UTC format
"2025-05-27T10:00:00Z"