AOC Url
3 input fields required:
| No. | Parameter Name | Description |
| 1 | *apiCode | Unique API code provided to the client, eg. ews |
| 2 | *returnURL | Landing Page URL |
| 3 | *clickId | Client own ID for reference purpose |
* Mandatory parameter
- XL: http://aoc-id.smsgateway.cc/XL/{shortcode}/{keyword}/{apiCode}/?
- Indosat: http://aoc-id.smsgateway.cc/ISAT/{shortcode}/{keyword}/{apiCode}/?
- Telkomsel: http://aoc-id.smsgateway.cc/TSEL/{shortcode}/{keyword}/{apiCode}/?
Example of URL:
http://aocid.smsgateway.cc/XL/99339/KARTUN7/ews/?returnUrl=http%3A%2F%2Fgoogle.com&txid=1
End user must access the API via telco network. Upon successful calling the API, end user will be redirected to the XL AOC page to complete the purchasing process
SMS SUBSCRIPTION
Apart from the WAP subscription mentioned above, user can also subscribe to our services by sending in the following SMS syntax to our short code 99339:
REG {keyword} {apiCode} {clickId}
| No. | Parameter Name | Description |
| 1 | *keyword | Mandatory. Subscription service keyword |
| 2 | *apiCode | Mandatory. Unique API code provided to the client |
| 3 | clickId | Optional. Publisher click ID value for conversion |
Eg. REG KARTUN7 ews ch12345
MO Url
You can provide us the MO URL for receiving the input fields below
| No. | Parameter Name | Description |
| 1 | msisdn | End user’s mobile number / encrypted ID (i.e. ID66121234567). |
| 2 | keyword | Service keyword (eg. KARTUN7) |
| 3 | shortcode | Short Code (eg. 99339) |
| 4 | message | Content of the end user’s request, which includes the service keyword. It should be URLencoded. |
| 5 | moDateTime | Timestamp of the request received (Format: yyyy-MM-ddTHH:mm:sszzz) |
| 6 | telco |
Telco to which the mobile number is ported under. (ISAT-Indosat, XL-XL, TSEL-Telkomsel, SFM-SmartFren, HUTCH3-H3) |
| 7 | txId | Unique message identifier, to tag each request received. |
| 8 | type | I=IOD, S=Subscription, U=Unsubscribe |
| 9 | clickId | Publisher click ID, if got |
DN Url
You can provide us the DN URL for receiving the input fields below
| No. | Parameter Name | Description |
| 1 | msisdn | End user’s mobile number / encrypted ID (i.e. ID66121234567). |
| 2 | txId | Unique identifier ID |
| 3 | refCode | Client own reference code |
| 4 | shortcode | Short Code number, eg. 99339 |
| 5 | keyword | Service Keyword, eg. KARTUN7 |
| 6 | telco | Telco Operator (XL, TSEL, ISAT, HUTCH3, SFM) |
| 7 | status | SUCCESS | FAILED | INSUFFICIENT_BALANCE | UNSUBSCRIBED |
| 8 | price | SMS price point |
| 9 | mtMsg | SMS message text |
| 10 | mtDateTime | SMS sending Date & Time (Format: yyyy-MM-ddTHH:mm:sszzz) |
Real Time Transactional Log
Alternatively, client will be able to check their transaction real time by logging into this URL: http://dashboard.pay365.com. Client will be provided the user ID and password to log in to view transaction log of MO, MT and DN.
Sending SMS (Subscription MT)
10 input fields required:
| No. | Parameter Name | Description |
| 1 | *apiCode | Unique API Code |
| 2 | *apiKey | Unique API Key |
| 3 | *shortcode | Short Code number, eg. 99339 |
| 4 | *telco | Telco Operator (XL, TSEL, ISAT, HUTCH3, SFM) |
| 5 | *msisdn | End user’s mobile number, in international format (i.e. ID6287654321). |
| 6 | *contentType | T: Normal Text, U: Unicode |
| 7 | *messageText | SMS MT Message |
| 8 | *keyword | Service Keyword, eg. NGAKAK |
| 9 | chargeType | C – Chargeable MT / F – Free MT (by default is C) / R – Renewal MT (for time based subscription service) |
| 10 | refCode | Client own reference code for reference purpose. OPTIONAL |
* Mandatory parameter
Example of URL:
http://api.pay365.com/sendSMS?apiCode=ews&apiKey=6a99d5d6f6584500af4c62e9f3f6546b&shortcode=99339&keyw
ord=NGAKAK&telco=XL&msisdn=ID62813763320&refCode=test1&contentType=T&messageText=test+via+api
Example of success (in JSON format):
{"status":"success","txId":"99339-2450"}
Example of fail (in JSON format):
{"status":"failed","err_desc":"Invalid Authentication"}
Sending SMS (IOD MT)
10 input fields required:
| No. | Parameter Name | Description |
| 1 | *apiCode | Unique API Code |
| 2 | *apiKey | Unique API Key |
| 3 | *shortcode | Short Code number, eg. 99339 |
| 4 | *telco | Telco Operator (XL, TSEL, ISAT, HUTCH3, SFM) |
| 5 | *msisdn | End user’s mobile number, in international format (i.e. ID6287654321). |
| 6 | *contentType | T: Normal Text, U: Unicode |
| 7 | *messageText | SMS MT Message |
| 8 | *keyword | Service Keyword, eg. BUY1 |
| 9 | *price | Price to charge, eg. 1000 |
| 10 | *msgId | Unique message identifier, received in MO URL. NOT MANDATORY FOR SMARTFREN |
| 11 | refCode | Client own reference code for reference purpose. OPTIONAL |
* Mandatory parameter
Example of URL:
http://api.pay365.com/sendSMS_IOD?apiCode=ews&apiKey=6a99d5d6f6584500af4c62e9f3f6546b&shortcode=99339&k
eyword=BUY1&telco=XL&msisdn=ID62813763320&refCode=test1&contentType=T&messageText=test+via+api&msgId=9
9339-12345
Example of success (in JSON format):
{"status":"success","txId":"99339-2450"}
Example of fail (in JSON format):
{"status":"failed","err_desc":"Invalid Authentication"}