Change Cable Subscription

You can use this endpoint to manage and shift your cable subscription packages.

❗️

This option should be used only if the customer wishes to change the current product or add-ons to which he or she is currently subscribed.

Product codes of new products or add-ons MUST BE included in the request unlike the renewal where the product code is passed as 0.

Request

{{baseUrl}}/cable/change/subscription

Headers

ParametersTypeDescriptionMandatory
AuthorizationStringpublic secret key e.g dc_test_1T1eSavlZxy02OT3OWlvbxK4GRequired

Body Parameters

ParametersTypeDescriptionMandatory
account_numberStringA valid account numberRequired
service_typeStringThis can be either ''DStv',''GOtv''or ''StarTimes''Required
total_amountStringThis is the total amount for the package and addons selectedRequired
number_of_monthsStringThis is the duration until subscription expiresRequired
product_codeStringThe identification code of the selected packageRequired
smartcard_numberStringThis is the smartcard number on which subscription will be rechargedRequired
addon_codeStringThis is the identification code of the selected addonOptional
addon_number_of_monthsStringThis is the number of months the addons will last until it expiresOptional

Response Sample

{
    "status": "success",
    "message": "Successful",
    "code": 200,
    "data": {
        "statusCode": "0",
        "transactionStatus": "success",
        "transactionReference": 35974386,
        "transactionMessage": "Cable TV Subcription successful",
        "baxiReference": 1518227,
        "provider_message": "true",
        "rawOutput": {
            "transactionNumber": 1518227,
            "details": {
                "customerCareReferenceId": null,
                "exchangeReference": "2070228633",
                "errorMessage": null,
                "errorCode": null,
                "errorId": null,
                "auditReferenceNumber": "36014082430737482834",
                "done": true,
                "status": "ACCEPTED"
            }
        }
    }
}