curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/billing/subscription' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"cancel_at_period_end": true,
"current_period_end": "string",
"status": "pending",
"subscription_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tier": "string"
}
Get subscription handlers
Returns the tenant’s current subscription details, or 404 if no subscription is on file. Required scope: read
GET
/
api
/
v1
/
billing
/
subscription
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/billing/subscription' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"cancel_at_period_end": true,
"current_period_end": "string",
"status": "pending",
"subscription_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tier": "string"
}
Returns the tenant’s current subscription details, or 404 if no
subscription is on file.
Required scope:
read
Response
SubscriptionResponse
boolean
required
string
string
required
string
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Subscription details |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
404 | No subscription found |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
503 | Billing not configured |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/billing/subscription' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"cancel_at_period_end": true,
"current_period_end": "string",
"status": "pending",
"subscription_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tier": "string"
}
Last modified on August 31, 2026