Package

Fire this api to show list of packages and it's feature lists.

api/package

GET https://yourdomain.com/api/package

This end point will give you list of packages and features list.

Query Parameters

Name
Type
Description

secret

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization*

string

Bearer { bearer_token without bracket }

Accept*

string

application/json

{
   "package": [
        {
            "id": 1,
            "plan_id": "basic10",
            "name": "Basic",
            "currency": "USD",
            "currency_symbol": "fa fa-dollar",
            "amount": "0.00",
            "interval": "month",
            "interval_count": 1,
            "trial_period_days": null,
            "status": "active",
            "screens": 1,
            "download": 0,
            "downloadlimit": null,
            "delete_status": 1,
            "created_at": "2021-08-03T14:44:00.000000Z",
            "updated_at": "2021-08-23T13:52:55.000000Z",
            "free": 1,
            "feature": [
                "1",
                "2",
                "3",
                "4"
            ],
            "ads_in_web": 0,
            "ads_in_app": 0
        },
        {
            "id": 2,
            "plan_id": "premium01",
            "name": "Premium",
            "currency": "USD",
            "currency_symbol": "fa fa-dollar",
            "amount": "299.00",
            "interval": "year",
            "interval_count": 1,
            "trial_period_days": null,
            "status": "upcoming",
            "screens": 4,
            "download": 0,
            "downloadlimit": null,
            "delete_status": 1,
            "created_at": "2021-08-03T14:49:46.000000Z",
            "updated_at": "2021-08-23T13:53:08.000000Z",
            "free": 0,
            "feature": [
                "1",
                "2"
            ],
            "ads_in_web": 0,
            "ads_in_app": 0
        }
    ],
    "package_feature": [
        {
            "id": 1,
            "name": "Watch on your laptop, TV, phone and tablet",
            "created_at": "2021-08-03T14:42:21.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 2,
            "name": "Full HD and 4K available",
            "created_at": "2021-08-03T14:42:30.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 3,
            "name": "Unlimited movies and TV shows",
            "created_at": "2021-08-03T16:24:22.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 4,
            "name": "24/7 Tech Support",
            "created_at": "2021-08-03T16:24:36.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 5,
            "name": "Cancel anytime",
            "created_at": "2021-08-03T16:24:50.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        }
    ],
    "pricingtexts": [
        {
            "id": 1,
            "package_id": 1,
            "title1": "1 Watching Profile",
            "title2": "",
            "title3": "",
            "title4": "",
            "title5": "",
            "title6": "",
            "created_at": "2021-08-03T16:26:04.000000Z",
            "updated_at": "2021-08-03T16:26:04.000000Z"
        },
        {
            "id": 2,
            "package_id": 4,
            "title1": "4 Watching Profile",
            "title2": "",
            "title3": "",
            "title4": "",
            "title5": "",
            "title6": "",
            "created_at": "2021-08-03T16:26:50.000000Z",
            "updated_at": "2021-08-03T16:26:50.000000Z"
        }
    ]
}

Last updated