StatsHub Docs
APIEndpoint referenceStripe

/stripe/subscription-status

A user with no subscription is a 200 with a null subscription, not a 404 — having never paid is a normal state, not a missing resource.

GET
/api/stripe/subscription-status

A user with no subscription is a 200 with a null subscription, not a 404 — having never paid is a normal state, not a missing resource.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/stripe/subscription-status"
{  "subscription": {    "property1": null,    "property2": null  }}