- USSD API
The API works by making HTTP post requests to the registered callback URL. The parameters are as shown:
Parameter | Description |
---|---|
sessionId | A unique string identifier generated by the USSD gateway |
serviceCode | USSD code assigned to the client |
phoneNumber | MSISDN of the subscriber dialing the code |
text | Text input entered by the subscriber |
- – To end a session prepend the response with END, for example, END You will get feedback via SMS shortly.
- – To continue a session, prepend the session with CON, for example, CON Enter your phone number