Get subscription status for a client app
Returns subscription information for the specified client app. # Authentication Requires valid API Key via X-API-Key header # Realm Isolation The API key must belong to the same realm as the client app. Cross-realm requests will return 403 Forbidden. # Example ```bash curl -X GET \ https://api.example.com/api/ext/subscription/client-app-123 \ -H "X-API-Key: your-api-key" ```
Returns subscription information for the specified client app.
Authentication
Requires valid API Key via X-API-Key header
Realm Isolation
The API key must belong to the same realm as the client app. Cross-realm requests will return 403 Forbidden.
Example
curl -X GET \
https://api.example.com/api/ext/subscription/client-app-123 \
-H "X-API-Key: your-api-key"api_keyX-API-Key<token>Client-app API key (third-party external API).
clientAppId*stringClient app ID
Subscription status retrieved
application/json- response
Subscription status response
billingType*stringBilling type snapshot ("recurring" / "non_renewing") when a
subscription exists; empty string when has_subscription == false.
Lets third-party SDKs distinguish non-renewing subscriptions from
billingType.
clientAppId*stringClient app ID
entitlementKey*stringEntitlement key for the subscription
hasSubscription*booleanWhether the app has an active subscription
paymentProvider*stringPayment provider (stripe, creem, etc.)
status*stringSubscription status
- "active": Subscription is active and paid
- "canceled": Subscription was canceled but still active until period end
- "expired": Subscription has expired
- "trialing": Free trial period
- "none": No subscription
curl -X GET 'https://example.com/api/ext/subscription/string'{
"billingType": "string",
"clientAppId": "string",
"entitlementKey": "string",
"hasSubscription": true,
"paymentProvider": "string",
"status": "string"
}