AOC Url
- Digi: http://wapgateway.cc/digi/{shortcode}/{keyword}/?txId=
- Celcom: http://aoc.pay365.com/cm/ez/purchase/{product}
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, in international format (i.e. 60123456789) |
| 2 | keyword | Service keyword (eg. DEMO) |
| 3 | shortcode | Short Code (eg. 32886) |
| 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. (MX, DG, CC, UM, XX, TT) |
| 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, in international format (i.e. 60123456789). |
| 2 | txId | Unique identifier ID |
| 3 | refCode | Client own reference code |
| 4 | shortcode | Short Code number, eg. 32886 |
| 5 | keyword | Service Keyword, eg. DEMO |
| 6 | telco | Telco Operator (MX, DG, CC, UM, XX, TT) |
| 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. 32886 |
| 4 | *telco | Telco Operator (MX, DG, CC, UM, XX, TT) |
| 5 | *msisdn | End user’s mobile number, in international format (i.e. 60123456789). |
| 6 | *contentType | T: Normal Text, U: Unicode |
| 7 | *messageText | SMS MT Message |
| 8 | *keyword | Service Keyword, eg. DEMO |
| 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=9ord=DEMO&telco=MX&msisdn=60123456789&refCode=test1&contentType=T&messageText=test+via+api
Example of success (in JSON format):
{"status":"success","txId":"32886-2450"}
Example of fail (in JSON format):
{"status":"failed","err_desc":"Invalid Authentication"}
Sending SMS (IOD MT)
11 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 (MX, DG, CC, UM, XX, TT) |
| 5 | *msisdn | End user’s mobile number, in international format (i.e. 60123456789). |
| 6 | *contentType | T: Normal Text, U: Unicode |
| 7 | *messageText | SMS MT Message |
| 8 | *keyword | Service Keyword, eg. DEMO |
| 9 | *price | Price to charge, eg. (30, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500) |
| 10 | *msgId | Unique message identifier, received in MO URL |
| 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=32886&
keyword=DEMO&telco=MX&msisdn=60123456789&refCode=test1&contentType=T&messageText=test+via+api&msgId=3
2886-12345
Example of success (in JSON format):
{"status":"success","txId":"32886-2450"}
Example of fail (in JSON format):
{"status":"failed","err_desc":"Invalid Authentication"}