(Topup) Attach an addon to a subscription
Subscription
(Topup) Attach an addon to a subscription
Attaches an addon plan to an already existing subscription in order to increase its validity and/or data, voice or sms allowance. The subscription should not have expired for it to work.
POST
(Topup) Attach an addon to a subscription
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Exactly one of the addon or addonPlanId must be provided
The id of the addon plan to be attached. The addon plan should not be archived
Defines the start time of the addon plan. There are two options:
- START_NOW: Start the validity of add on plan instantly
- END_OF_CUR_EXPIRY Start the validity add on plan on end of current plan expiry. In both the cases, the data allowance is available instantly.
Response
Example:
{
"name": "Australia 1GB 7d",
"dataMegaBytes": 1024,
"periodDays": 1,
"periodIterations": 7,
"throttledSpeedKbps": 128,
"label": "alpha",
"coverageProfileId": "cvpr_ybrs38es"
}