Get Subscription
Retrieve a specific subscription by ID
GET
Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint retrieves detailed information about a specific subscription including plan details, billing history, and upcoming invoices.
Authentication
This endpoint requires a valid API key withsubscriptions:read permissions.
Path Parameters
The unique identifier of the subscription
Query Parameters
Expand related objects. Options: “customer”, “payment_method”, “invoices”, “upcoming_invoice”
Response
Unique subscription identifier
Object type, always “subscription”
Subscription status: “trialing”, “active”, “past_due”, “cancelled”, “unpaid”
Start of current billing period
End of current billing period
Subscription plan details