curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/billing/credits' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
Get credits handlers
Required scope: read
GET
/
api
/
v1
/
billing
/
credits
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/billing/credits' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
Required scope:
read
Response
No response body. Prepaid credit balance for the org.Status codes
| Code | Meaning |
|---|---|
200 | Prepaid credit balance for the org |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
404 | No Stripe customer for this org |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/billing/credits' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
Last modified on August 31, 2026