Subscribed with free subscription

Fire this api to subscribed with free subscription package.

api/free/subscription

POST https://yourdomain.com/api/free/susbcription

This end point allows to you subscribed with free subscription store.

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

{
     "message": "Successful but mail not send",
    "subscription": {
        "user_id": 6,
        "payment_id": "SWEFf56DF",
        "user_name": "Test",
        "package_id": 1,
        "price": "1",
        "status": "1",
        "method": "Free",
        "subscription_from": "2021-12-22T08:49:14.619359Z",
        "subscription_to": "2022-01-22T08:49:14.619412Z",
        "updated_at": "2021-12-22T08:49:14.000000Z",
        "created_at": "2021-12-22T08:49:14.000000Z",
        "id": 12,
        "plan": {
            "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
        }
    }
}

Last updated