Subscription Cancellation

For cancellation on the subscription service, Service Providers need to invoke the subscription cancellation API.

Request

HTTP Method
POST
POST <AOC_SERVER>/api/cancelSubscription
HTTP/1.1
Content type: application/x-www-form-urlencoded


{
  "apiKey":"Ofa3M7zS2c3",
  "username":"test",
  "spTransID":"201903192030-test1",
  "msisdn":"60191234567",
  "operator":"operator1",
  "subscriptionID":"WeeklyGame1"
}

Request Parameter

Parameter NameDescriptionUsage
usernameThis will be the username provided to the Service Provider by BOOSTCONNECT.(STRING) Mandatory
apiKeyThis will be API Key to access AOC. Will be provided by BOOSTCONNECT.(STRING) Mandatory
spTransIDThis is a unique transaction id per API call event generated by Service Provider. It is your reference for troubleshooting purposes.(STRING) Mandatory
operatorThe operator code provided by BOOSTCONNECT.(STRING) Mandatory
msisdnThe MSISDN of the subscriber. The user’s MSISDN includes the country code, e.g. 60191234567.(STRING) Mandatory
subscriptionIDThis is a unique subscription id for each different subscription package/service.(STRING) Mandatory

Response

HTTP/1.1 200 OK 
Content-Type: application/json 
Date: Tue, 01 Nov 2016 12:00:00 GMT


{ "data": 
{ 
	"errorCode":"00", 
	"errorMessage":"" 
} 
}

Response Parameter

Parameter NameDescriptionUsage
errorCodePlease check the error code list. If successful, the error code will be “00”.(STRING)
errorMessageExplanation of the error.(STRING)