/ussd/sendUssd Send Services
This service is used when sending USSD messages to a mobile phone from an application.USSD send service supports only POST HTTP requests.
Fields & examplesInitiate USSD sessions using a HTTP-based API
USSD API allows your applications to initiate USSD sessions using a HTTP-based API. You can build USSD menu driven applications, monetize based on menu request, maintain an active session with customs etc.
/ussd/sendhttps://api.mspace.lk/ussd/send
{
"version": "1.0",
"applicationId": "APP_000001",
"message": "1. Press One\n 2. Press two\n 3. Press three\n 4. Exit\n",
"password": "password",
"sessionId": "1330929317043",
"ussdOperation": "mt-cont",
"destinationAddress": "tel:94702725777 ",
"encoding": "440"
}{
"version": "1.0",
"requestId": "101901031657410007",
"timeStamp": "20190103165801",
"statusCode": "S1000",
"statusDetail": "Success."
}/ussd/sendThis service is used when sending USSD messages to a mobile phone from an application.USSD send service supports only POST HTTP requests.
Fields & examples/ussd/receiveThis service allows TAP to deliver MO messages to the application using HTTP – based API. The flow of messages is initiated by a MO request sent to an application,TAP will deliver the message to the application as an acknowledgement. Hence it could be either request-response exchange or a request-exception exchange.
Fields & examplesmSpace offers you free registration where you can just sign up to create your application. Revenue share is subject to mSpace admin decision and approval upon submitting your application for approval.