Request New TAC for Direct Charge

Only applicable for Service Provider that is enabled for Direct Charging

This API call is only applicable for Service Provider with Direct Charging permission. Service Providers can try to request new TAC.

Request

HTTP Method

POST

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

{
    "aocTransID":"12345678",
    "apiKey":"Ofa3M7zS2c3",
    "username":"test",
    "msisdn":"+60191234567"
}

Request Parameter

Parameter Name

Description

Usage

aocTransID

This is the unique transaction id generated by AOC Gateway. This id is passed to the Service Provider during the getAOCToken API.

(STRING) Mandatory

apiKey

This will be API Key to access AOC. Will be provided by BOOSTCONNECT.

(STRING) Mandatory

username

This will be the username provided to the Service Provider by BOOSTCONNECT.

(STRING) Mandatory

msisdn

The MSISDN of the subscriber. The user’s MSISDN includes the country code, e.g. 60191234567.

(STRING) Mandatory

Response

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

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

Response Parameter

Parameter Name

Description

Usage

errorCode

Please check on the error code list.

(STRING)

errorMessage

Explanation of the error.

(STRING)