Allows you to deploy your code directly to your card. It also includes a emulator to test your code locally.
Before installing, download and install Node.js.
git clone https://github.com/devinpearson/ipb.git
cd ipb
npm install
Commands: fetch-cards Gets a list of cards fetch-env [cardkey] [filename] fetches your environmental variables executions card execution logs deploy deploys your code to your card fetch [filename] fetches your saved code publish [cardkey] [codeid] [filename] publishes your saved code fetch-published [cardkey] [filename] fetches your published code run run your code locally toggle [enabled] enable/disable card code upload [cardkey] [filename] uploads your code to saved code upload-env [cardkey] [filename] publishes your environmental variables set set auth credentials
Options: -h, --help Show help [boolean] -v, --version Show version number [boolean]
Options:
-e, --env [environment]
The environment to use
-a, --amount [amount]
The amount of the transaction
-c, --currency [currency]
The currency of the transaction
--mcc [mcc]
The merchant category code of the transaction
-m, --merchant [merchant]
The merchant name of the transaction
-i, --city [city]
The city of the transaction
-o, --country [country]
The country of the transaction
-h, --help
Display help for command
-v, --version
Display the current version
To run a transaction against a template, run the following command:
node . main.js -e prod --amount 60000 --currency ZAR --mcc 0000 --merchant "Test Merchant" --city "Test City" --country ZA
Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.
This project is licensed under the MIT License - see the LICENSE.md file for details
For inquiries, please open an issue.