The repo provides a simple way to generate an authentication token for testing Clover APIs.
- Create Clover developer account
- Create Clover Web Application, ensure proper authentication flags are turned on for the required APIs
- Python >= 3.8
- PDM
- Set environment variable
CLOVER_SECRET
with you application secret
To execute the authentication web-service use:
pdm run start
If you're running locally it is use ngrok or similar tool, to configure the route for the Clover App authentication.
Use the Clover POS to initiate a call for the web-app, and see the printed results. To use Clover APIs you will need the merchant-id and the printed authentication token
Good luck!