Skip to main content

GetSubscriptionStatusInternal retrieves subscription status by organization ID.

GET 

/internal/v1/billing/subscription/status/:organizationId

This is an internal RPC for service-to-service communication. It accepts organization_id as a parameter instead of extracting it from JWT context.

Authorization

This endpoint is intended for internal service-to-service calls and should be protected at the network level (service mesh) rather than JWT auth.

Use Cases

  • Subscription middleware checking if org has active subscription
  • Other services validating subscription before performing operations

Response

Returns the same SubscriptionStatus as GetSubscriptionStatus but for any org.

Errors

  • NOT_FOUND: Organization has no subscription

Request

Responses

A successful response.