A clean, fast, and user-friendly command-line tool to instantly verify the status and details of any Paystack transaction directly from your terminal.
This CLI tool provides a near-instant way to check a transaction's status without ever leaving your terminal, saving you time and keeping you in your workflow.
- Direct Verification: Instantly fetch transaction details using a reference string.
- Secure Input: Your Paystack Secret Key is entered securely and is never displayed on screen or stored.
- Readable Output: Transaction details are displayed in a clean, color-coded table for easy reading.
- Robust Error Handling: Gracefully handles invalid input, API errors, and network issues.
- User-Friendly: Includes a retry limit for invalid input and an explicit quit command, so you're always in control.
- Python 3.7+
Follow these steps to get the tool up and running in under two minutes.
git clone https://github.com/jola-ds/fintech-transaction-verifier.git
cd fintech-transaction-verifierpython -m venv venv
# On Windows:
.venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activatepip install -r requirements.txtTo use this tool, you will need a Test Secret Key and a Transaction Reference from your Paystack developer account.
- Sign up for a free account on the Paystack Dashboard.
- Make sure you are in Test Mode.
- Go to Settings → API Keys & Webhooks to find your Test Secret Key.
- Go to Transactions to find a Reference from a test payment.
(You may need to create one first using a Payment Page.)
# Run the script from your terminal
python transaction_verifier.py- Python 3
- Requests
- Rich
This project is licensed under the MIT License.