ProcessPayment API
Before running the app assuming that python 3.7.xx is installed on development machine
- Create virtual environment with python3.7.xx
$ python3.7 -m venv envname
- Activate the virtual environment
$ source envname/bin/activate
- Install requisite packages:
$ sh scripts/install_requirements.sh
- Run flask API:
$ python app.py
- Url:
http://0.0.0.0:5051/api/v1/process-payment/ (post)
- In order to Run tests:
$ python -m pytest -vv
- Post-man collection under extras folder test staging main.py