User Subscriptions
Fetches user subscriptions
GET
{{BASE_URL}}/api/subscriptions/user-subscriptions
Path Parameters
Name
Type
Description
lesson_id
integer
ID of the lesson to get
Headers
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
{
"status": 200,
"response_code": 0,
"success": true,
"errors": [],
"message": "Subscriptions retrieved successfully",
"data": [
{
"id": 301,
"type": "single",
"amount_paid": 2500.0,
"original_price": 2500.0,
"created_date": "2024-03-15T10:30:00.000Z",
"status": "active",
"courses": [
{
"id": 45,
"name": "Personal Finance Fundamentals",
"price": 2500.0,
"description": "Master the basics of personal finance"
}
]
},
{
"id": 302,
"type": "bundle",
"amount_paid": 7500.0,
"original_price": 7500.0,
"created_date": "2024-03-20T14:15:00.000Z",
"status": "pending",
"courses": [
{
"id": 46,
"name": "Investment Strategies",
"price": 3500.0,
"description": "Learn advanced investment techniques"
},
{
"id": 47,
"name": "Business Finance",
"price": 4000.0,
"description": "Financial management for entrepreneurs"
}
]
}
]
}
Last updated
Was this helpful?