Setup
Comprehensive guide on how to use the Node Package for Terminal Africa
Quick start
Requirements
node >= 14.0.0
npm >= 6.0.0
Setup
Insall the package to your application.
using npm : npm install terminal-africa
or using yarn yarn install terminal-africa
Create new environment variables
TERMINAL_AFRICA_URL
TERMINAL_AFRICA_SECRET_KEY
e.g
TERMINAL_AFRICA_URL=https://sandbox.terminal.africa
TERMINAL_AFRICA_SECRET_KEY=sk_test_xxxxxxxxxxxxxxxx
For staging, use test keys and for production, use live keys
Login to Terminal Africa to get your authorization keys
More Info on Authorization can be found here