/fido-ussd-app

Simple fido, ussd application

Primary LanguagePython

Setting Up a USSD Service for FIDO CREDIT.

A step-by-step guide (Dial 38434857# on the sandbox)

  • 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

Prerequisites

  • 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=

USSD APP & DASHBOARD

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.

  1. Register new users. => register alt text

  2. View registered users. => clients alt text

  3. Manually create callback requests. => Create callback requests alt text

  4. View callback requests. => View clients alt text

SIMULATION

A look at the simulated USSD application.

  1. USSD Code

    alt text

  2. USSD Menu

    alt text

  3. Generate OTP

    alt text

  4. Get user balance

    alt text

  5. User Balance

    alt text

  6. Invalid user id

    alt text

  7. Callback Request, Below is a look at a sample SMS, sent from the service.

    alt text

  • That is basically the application!