ورود | ثبت نام
  • FA
  • EN

API Docs

User Premium Subscription Resource

Represents a user's premium subscription, including plan details and validity period.


Schema

FieldTypeDescriptionExample
idintUnique identifier for the subscription123
user_idintID of the user123
planstringName of the premium plan"gold"
starts_atstringSubscription start timestamp (ISO 8601 format)"2025-01-01 00:00:00"
expires_atstringSubscription expiry timestamp (ISO 8601 format)"2025-02-01 00:00:00"

Example

{
  "id": 123,
  "user_id": 123,
  "plan": "gold",
  "starts_at": "2025-01-01 00:00:00",
  "expires_at": "2025-02-01 00:00:00"
}
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutubeTelegram