Pay
Check Subscription
Check if a user has an active subscription for a given plan key.
POST
/api/pay/check_subscription.php
Requires
Authorization: AppID:AppKey + user tokenRequest body
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | required | User session token |
| itemKey | string | required | Subscription plan key to check |
Test this endpoint
Headers
Body
Success response 200
{
"success": true,
"itemKey": "plan-pro",
"subscription_active": true
}
This is a lightweight yes/no check — no status, renewal date, or portal link. For that, call Manage Subscription instead.