Unpause the subscription
You can use this API to unpause and resume an existing subscription.
Request & Response
POST https://proxy.webshare.io/api/v2/subscription/unpause/
unpause.py
import requests
response = requests.post(
"https://proxy.webshare.io/api/v2/subscription/unpause/",
headers={"Authorization": "Token "},
)
response.json()
The commands above return JSON structured like this:
response.json
{
"id": 1,
"plan": 2,
"payment_method": 1,
"free_credits": 13.37,
"term": "monthly",
"start_date": "2022-06-14T11:19:14.489458-07:00",
"end_date": "2022-07-14T11:19:14.489461-07:00",
"renewals_paid": 0,
"failed_payment_times": 0,
"account_discount_percentage": 0,
"promotion_available_first_time_renewal_25_off": false,
"customizable": true,
"paused": false,
"reactivation_date": null,
"reactivation_period_left": "29 23:59:49.627776",
"throttled": false,
"created_at": "2022-06-14T11:58:10.246406-07:00",
"updated_at": "2022-06-14T11:58:10.246406-07:00"
}