USSD (Unstructured Supplementary Service Data) allows you to build applications that run offline on mobile devices, accessed via shortcodes like *203#.
dataset
Shared Codes
Start instantly with a shared extension on our base code, e.g., *203*102#. Ideal for quick deployment.
star
Dedicated Codes
Acquire your own shortcode like *303#. We assist with National Communication Authority approval.
Visit app.moolre.com and create a USSD Service to continue.
Request Body
This is the request we send to your callback URL when someone dials your USSD Code.
{
"sessionId": "3-17074657982460137",
"new": true,
"msisdn": "233240000003",
"network": 3,
"message": "",
"extension": "109",
"data": "11005"
}Response Body
This is the response you send back to us after we call your callback URL.
{
"message": "Menu\n1) Balance\n2) Account Information",
"reply": true
}Parameters
| Parameter | Type | Description |
|---|---|---|
| sessionid | String | This is a unique id to track a USSD session |
| new | Boolean | This specifies whether this is a new USSD session or a continuing USSD session |
| msisdn | String | Mobile number of the initiator of the USSD |
| network | Integer | This is the network of the initiator of the USSD. 3 - MTN, 5 - AT, 6 - Telecel |
| message | String | This is the message/response sent by the initiator of the USSD |
| extension | String | This is your assigned USSD code |
| data | String | Any other data entered when initiating a request. Eg. If initiator dials: *203*109*11005#, data = 11005. |
| reply | Boolean | Specifies whether a response is expected from the initiator of the USSD. true - Reply is expected, false - Reply is not expected, end the session |
