Subscriptions/getSubscription
Get a subscription
PlannedPlanned. This contract is published ahead of the build. It is not callable yet — treat it as the shape to design against, not a live endpoint.
Retrieve a subscription by ID.
GET
/v1/subscriptions/{id}Returns a subscription by ID, including its status, the price it bills, and the current billing period.
Path parameters
idstringRequiredResponse
application/json
idstringExample "sub_9c2a4f10"
customerIdstringExample "cus_123"
priceIdstringExample "price_pro_monthly"
statusenumtrialingactivepast_duecanceledExample "active"
currentPeriodEndstring · ISO 8601Example "2026-04-09T09:14:22Z"
cancelAtPeriodEndbooleanExample false
createdAtstring · ISO 8601Example "2026-04-09T09:14:22Z"
getSubscription