Authorizations
Path Parameters
The id of the subscription to retrieve
Body
The subscription's name. Meant to be displayable to your customers.
"Monthly gold plan"
An object containing the inputs the PriceModel expects.
Time at which the subscription started or is scheduled to start. Can also be used for backdating
"2022-04-02T00:00:00.000Z"
Time at which the subscription ended or is scheduled to end.
"2023-01-15T15:53:00.000Z"
Response
Returns the Subscription that was updated in the request
A way to bill customers on a recurring basis. Subscriptions are created from a price model with a billing frequency.
A unique identifier for the object
"sub_01FSSVRVGQ7GGB13815DE3F518"
The subscription's name. Meant to be displayable to your customers.
"Monthly gold plan"
Id of the account owner associated with this subscription
Time at which the object was created.
"2022-01-15T15:53:00.000Z"
Time at which the subscription ended or is scheduled to end.
"2023-01-15T15:53:00.000Z"
Id of the product this subscription provides access to
"prod_12PSSMRLGQ7MMQ13565DE3F557"
The frequency at which this subscription is billed. Values include once, monthly, annually
"monthly"
The date of the first full invoice and anchors subsequent invoices on the the day of the month.
For example, a $30 dollar monthly recurring bill that is sent in the middle of April with an billing cycle anchor of May 1st would result in an invoice created immediately for $15 and then another $30 invoice sent out on May 1st.
"2022-03-15T15:53:00.000Z"
Id of the price model associated with this subscription
The status of this subscription. Values include ended, and active.