- Setting up the logic for USSD is easy with the Africa's Talking API. This is a guide to how to use the code provided on this repository to create a USSD that allows registered users to get an OTP, check balance and request a callback.
USSD APP Features |
---|
1. GET OTP |
2. Check Balance |
3. Request for a callback |
- To run this program, run the flask API, using
flask run
. Sign up to twilio, and add the following environment variables
// Specify your Twilio credentials, to send SMS.
$ export TWILIO_ACCOUNT_SID=
$ export TWILIO_AUTH_TOKEN=
To get more information on the how the API works, please look at this postman documentation.
The API also has a dashboard, that allows admin to.
-
Register new users. => register
-
View registered users. => clients
-
Manually create callback requests. => Create callback requests
-
View callback requests. => View clients
A look at the simulated USSD application.
-
USSD Code
-
USSD Menu
-
Generate OTP
-
Get user balance
-
User Balance
-
Invalid user id
-
Callback Request, Below is a look at a sample SMS, sent from the service.
- That is basically the application!