List customer subscriptions
GET
Lists managed subscriptions in the selected environment, newest first. A customer without managed subscriptions returns an empty page. Billing periods and cancellation state depend on the latest synchronized Stripe data.
bearerAuthheader
AuthorizationBearer <token>Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.
identity*stringLength
1 <= length <= 128limit?integerRange
1 <= value <= 100Default
20cursor?stringLength
1 <= lengthX-Orbyte-Environment?stringRequired for environment-scoped OAuth operations. API keys remain bound to their own environment.
Length
1 <= lengthManaged subscriptions
application/json- response
page*array<>isDone*booleancontinueCursor*stringsplitCursor?string|nullpageStatus?|nullcurl -X GET 'https://api.orbytelabs.com/v1/subscriptions?identity=string'Example Response
{ "page": [ { "planKey": "string", "status": "string", "currentPeriod": { "startAt": 0, "endAt": 0 }, "scheduledCancellation": { "at": 0 }, "id": "string", "createdAt": 0 } ], "isDone": true, "continueCursor": "string", "splitCursor": "string", "pageStatus": "SplitRecommended"}