Channel extension
Extending Channel Duration
For a channel to remain active and functional, timely extension is key. Initially, upon creation, every channel enters a Trial mode, which lasts for 5 days. Post-Trial, the channel ceases to operate unless extended.
If you subscribe to channels on your own, there is no need to extend channels as this will be done automatically.
To facilitate this, a specific method exists that allows days to be transferred from an account's balance to the channel. For instance, adding 30 days extends the channel's active period by a month, ensuring uninterrupted service up to the extended date.
curl --request POST \
--url https://manager.whapi.cloud/channels/MANTIS-PF298/extend \
--header 'accept: application/json' \
--header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImExZDI2YWYyYmY4MjVmYjI5MzVjNWI3OTY3ZDA3YmYwZTMxZWIxYjcifQ.eyJwYXJ0bmVyIjp0cnVlLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2hhcGktYTcyMWYiLCJhdWQiOiJ3aGFwaS1hNzIxZiIsImF1dGhfdGltZSI6MTcxMjU4MDY1MywidXNlcl9pZCI6IkRkRUlrYThlMkJlc09PUThkNDkxVnM2MmtRcDIiLCJzdWIiOiJEZEVJa2E4ZTJCZXNPT1E4ZDQ5MVZzNjJrUXAyIiwiaWF0IjoxNzEyNTgwNjUzLCJleHAiOjE3NzMwNjA2NTMsImVtYWlsIjoiaGVsbG9Ad2hhcGkuY2xvdWQiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaGVsbG9Ad2hhcGkuY2xvdWQiXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.X4H7kLaJ4YOstu5OKM2eN4d7X9yqPgWQt8h0-Ay8S61v6E9gL5G2jgDCfUqUtSXjtT6BVC8O7zV-2qyxDkC82nHJBCUIJZM0y0jyk3JZYxNCm8Nn5Ba_BJqQPvAF8Y9bilDALdyYJmc36cZ6bOvh_Aguzj1e1pK83w7N0lu8NW9VF_6BaXWlliewZAcGuZO6NVBuco1Q6KvEPBw-9E730MAiHkcfR7TNVFtK7BvysgSZbnYN28KatR1UCil0ZAlshkc3fWjzrTPTF8B4TOh2tobf8dCa6RC5xzzbH_Xy9tib0iJJoa8PkKZn38sYavFBCvKOIC04uvPXsycySfoDEg' \
--header 'content-type: application/json' \
--data '
{
"days": 30,
"comment": "[Whapi Billing] Auto Top-Up"
}
'
The comment
parameter is required, but it is done for convenience, you can type anything here. This information is displayed on the Billing History page.
Read more about balance: 2. Account Balance Replenishment
Last updated
Was this helpful?